summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2011-02-19 14:47:23 +0100
committerMichael Cardell Widerkrantz <mc@hack.org>2011-02-19 14:47:23 +0100
commit5b8ef85cc96863871cbab01a809859c610d5f1ba (patch)
tree28706d52ecc735434444dc046ae5271df7beda26 /mcwm.c
parent9721fda704afaa23440f3af30b5cab799f9d81f7 (diff)
downloadmcwm-5b8ef85cc96863871cbab01a809859c610d5f1ba.zip
Whitespace.
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mcwm.c b/mcwm.c
index d095582..1322d7f 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -2831,12 +2831,11 @@ void events(void)
* reset any maximized state.
*/
PDEBUG("Notify event for root!\n");
+ PDEBUG("New root geometry: %dx%d\n", e->width, e->height);
+
arrangewindows(e->width, e->height);
-
screen->width_in_pixels = e->width;
screen->height_in_pixels = e->height;
-
- PDEBUG("New root geometry: %dx%d\n", e->width, e->height);
}
}
break;
@@ -2862,7 +2861,6 @@ void events(void)
mask |= XCB_CONFIG_WINDOW_X;
i ++;
values[i] = e->x;
-
}
if (e->value_mask & XCB_CONFIG_WINDOW_Y)
@@ -2871,7 +2869,6 @@ void events(void)
mask |= XCB_CONFIG_WINDOW_Y;
i ++;
values[i] = e->y;
-
}
if (e->value_mask & XCB_CONFIG_WINDOW_WIDTH)
@@ -2926,7 +2923,6 @@ void events(void)
* XCB_PLACE_ON_TOP or _ON_BOTTOM. We don't care.
*/
xcb_circulate_window(conn, e->window, e->place);
-
}
break;