fix of bug where window is partially under bar

This commit is contained in:
Alexander Bocken 2020-07-11 19:33:12 +02:00
parent 8e8a90becc
commit 7657c9b569

4
dwm.c
View File

@ -1664,6 +1664,10 @@ setup(void)
XSelectInput(dpy, root, wa.event_mask); XSelectInput(dpy, root, wa.event_mask);
grabkeys(); grabkeys();
focus(NULL); focus(NULL);
Monitor *m;
for (m = mons; m; m = m->next) {
updatebarpos(m);
}
} }