Explorar o código

always updategeom when root is configured

nsz@tpx %!s(int64=16) %!d(string=hai) anos
pai
achega
9c066c24b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dwm.c

+ 1 - 1
dwm.c

@@ -530,7 +530,7 @@ configurenotify(XEvent *e) {
 	Monitor *m;
 	XConfigureEvent *ev = &e->xconfigure;
 
-	if(ev->window == root && (ev->width != sw || ev->height != sh)) {
+	if(ev->window == root) {
 		sw = ev->width;
 		sh = ev->height;
 		updategeom();