X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=3c2010a1433b391164f0340c78f225e81fbcafea;hb=1aa0bc66eb45ba466d1d071d0e6c13631331e091;hp=59212da17bc6d5b138b92a171c73a2a637070466;hpb=5be0a82a353b67160142134de1cc51fa31d72759;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 59212da1..3c2010a1 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -357,7 +357,7 @@ void screen_resize() screen_update_areas(); for (it = client_list; it; it = it->next) - client_move_onscreen(it->data); + client_move_onscreen(it->data, FALSE); } void screen_set_num_desktops(guint num) @@ -637,8 +637,6 @@ void screen_update_areas() { guint i, x; guint32 *dims; - Rect **old_area = area; - Rect **rit; GList *it; g_free(monitor_area); @@ -657,7 +655,6 @@ void screen_update_areas() dims = g_new(guint32, 4 * screen_num_desktops); - rit = old_area; for (i = 0; i < screen_num_desktops + 1; ++i) { Strut s; int l, r, t, b; @@ -800,7 +797,7 @@ void screen_update_areas() } } PROP_SETA32(RootWindow(ob_display, ob_screen), net_workarea, cardinal, - dims, 4 * screen_num_desktops); + dims, 4 * screen_num_desktops); g_free(dims); }