always updategeom when root is configured
parent
0a668922a4
commit
9c066c24b3
2
dwm.c
2
dwm.c
|
@ -530,7 +530,7 @@ configurenotify(XEvent *e) {
|
||||||
Monitor *m;
|
Monitor *m;
|
||||||
XConfigureEvent *ev = &e->xconfigure;
|
XConfigureEvent *ev = &e->xconfigure;
|
||||||
|
|
||||||
if(ev->window == root && (ev->width != sw || ev->height != sh)) {
|
if(ev->window == root) {
|
||||||
sw = ev->width;
|
sw = ev->width;
|
||||||
sh = ev->height;
|
sh = ev->height;
|
||||||
updategeom();
|
updategeom();
|
||||||
|
|
Loading…
Reference in New Issue