X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=1b9887d95ecdd529182c7919ee9fdcb90d373113;hb=62f1473c651a564391e53548e0cb7daa5303776d;hp=b312aba9b73d443b3305187871b5e3c6a7f0d6ca;hpb=950516124f49000bd8df0481df0c54a14a05b7f9;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index b312aba9..1b9887d9 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -353,8 +353,8 @@ void screen_resize() if (ob_state() == OB_STATE_STARTING) return; - dock_configure(); screen_update_areas(); + dock_configure(); for (it = client_list; it; it = it->next) client_move_onscreen(it->data, FALSE); @@ -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); }