commit 999f1d5
chld
·
2026-07-12 14:05:25 +0000 UTC
parent 8a298c4
refill correctly on resize
1 files changed,
+1,
-1
M
xd.c
M
xd.c
+1,
-1
1@@ -57,7 +57,7 @@ int main(void)
2 DefaultDepth(d,s));
3
4 XSetForeground(d, gc, WhitePixel(d,s));
5- XFillRectangle(d, l,gc,0,0,wi,hi);
6+ XFillRectangle(d, l,gc,0,0,ev.xconfigure.width,ev.xconfigure.height);
7
8 int cw = wi < ev.xconfigure.width ? wi : ev.xconfigure.width;
9 int ch = hi < ev.xconfigure.height ? hi : ev.xconfigure.height;