ref: aced86644be1b395e0ef2d622749c1aaf1b2d9dc
parent: 600f506c9dbfe95de013c3b3c2bdb06c9bf1a2b7
author: phil9 <[email protected]>
date: Thu Jan 27 09:07:10 EST 2022
fix resize not recomputing coordinates coordinates were computed at startup but never on resize events which would lead to content being drawn outside of window bounds if the window was moved.
--- a/nordle.c
+++ b/nordle.c
@@ -386,6 +386,7 @@
case Eresize:
if(getwindow(display, Refnone) < 0)
sysfatal("getwindow: %r");
+ initsize();
eresize();
break;
case Ekeyboard: