JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
always updategeom when root is configured
authornsz@tpx <unknown>
Mon, 7 Sep 2009 09:46:02 +0000 (11:46 +0200)
committernsz@tpx <unknown>
Mon, 7 Sep 2009 09:46:02 +0000 (11:46 +0200)
dwm.c

diff --git a/dwm.c b/dwm.c
index f7e9e84..7a4600f 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -530,7 +530,7 @@ configurenotify(XEvent *e) {
        Monitor *m;
        XConfigureEvent *ev = &e->xconfigure;
 
        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();
                sw = ev->width;
                sh = ev->height;
                updategeom();