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:
committed by
Carlos R. Mafra
parent
128ba2ddc7
commit
ae6b03e50f
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user