X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/0a668922a4de625d128a362d102844e33e36ae1c..9c066c24b3d0b7767651f0f403db2e4007a847c8:/dwm.c?ds=sidebyside diff --git a/dwm.c b/dwm.c index f7e9e84..7a4600f 100644 --- a/dwm.c +++ b/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();