X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=7a4600f5a84b88421fc774216be7d22e09e32ec8;hp=f63a1c09e1d7b5d92eeb8f32c89a365f1cab88d9;hb=9c066c24b3d0b7767651f0f403db2e4007a847c8;hpb=57629642321b9850edddf068ac9ddf8737979390 diff --git a/dwm.c b/dwm.c index f63a1c0..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(); @@ -1236,7 +1236,7 @@ propertynotify(XEvent *e) { if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { updatetitle(c); if(c == c->mon->sel) - drawbars(); + drawbar(c->mon); } } }