summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-13 15:07:49 +0000
committerDana Jansens <danakj@orodu.net>2007-06-13 15:07:49 +0000
commit15d615853671b0988b9a87720cac2762c702f28b (patch)
treecaaed243dfab3fe7732844f56a49689890404711 /openbox/screen.c
parent1443e17317950d5bb096a55aca81bc8fa419ffe7 (diff)
don't force reconfigure in a number of places, also eat enter events when reconfiguring. yay
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 3962fd2a..92d4d9a4 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -1206,20 +1206,8 @@ void screen_update_areas()
dims, 4 * screen_num_desktops * screen_num_monitors);
/* the area has changed, adjust all the windows if they need it */
- for (it = client_list; it; it = g_list_next(it)) {
- gint x, y, w, h, lw, lh;
- ObClient *client = it->data;
-
- RECT_TO_DIMS(client->area, x, y, w, h);
- client_try_configure(client, &x, &y, &w, &h, &lw, &lh, FALSE);
- if (!RECT_EQUAL_DIMS(client->area, x, y, w, h)) {
- gulong ignore_start;
-
- ignore_start = event_start_ignore_all_enters();
- client_configure(client, x, y, w, h, FALSE, TRUE);
- event_end_ignore_all_enters(ignore_start);
- }
- }
+ for (it = client_list; it; it = g_list_next(it))
+ client_reconfigure(it->data, FALSE);
g_free(dims);
}