From 4d82dd3017655aef64893897bc12064e5c51469d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 28 Jul 2003 19:53:54 +0000 Subject: make the new placement restrictions not affect !normal windows like panels --- openbox/screen.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index b312aba9..3c2010a1 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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); } -- cgit v1.2.3