1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-19 09:13:33 +01:00

wmiv: fix default window size

Set default windows size to 10x10 as 1x1 is unmanaged since
commit 839061a25a.
This commit is contained in:
David Maciejak
2026-02-08 17:02:16 -05:00
committed by Carlos R. Mafra
parent 128ba2ddc7
commit ae6b03e50f

View File

@@ -1858,7 +1858,7 @@ int main(int argc, char **argv)
merge_with_background(img);
win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 1, 1, 0, 0, BlackPixel(dpy, screen_num));
win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 10, 10, 0, 0, BlackPixel(dpy, screen_num));
XSelectInput(dpy, win, KeyPressMask|StructureNotifyMask|ExposureMask|ButtonPressMask|ButtonReleaseMask|PointerMotionMask|FocusChangeMask|PropertyChangeMask);
size_hints = XAllocSizeHints();