X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/f77a3d0a62b09f2923b8e2c7e739600ab8283abb..c19d4b2930379d0b966a1f082f9db2f3011bea76:/dwm.c?ds=inline diff --git a/dwm.c b/dwm.c index 4d26a82..51d270e 100644 --- a/dwm.c +++ b/dwm.c @@ -408,6 +408,7 @@ configurenotify(XEvent *e) { if(ev->window == root && (ev->width != sw || ev->height != sh)) { setgeoms(); + updatebarpos(); arrange(); } } @@ -1415,8 +1416,6 @@ setdefaultgeoms(void) { moy = wy; mow = ww; moh = wh; - - updatebarpos(); } void