summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-28 19:53:54 +0000
committerDana Jansens <danakj@orodu.net>2003-07-28 19:53:54 +0000
commit4d82dd3017655aef64893897bc12064e5c51469d (patch)
tree721d7cd6bbcab6d4544bc8a2d055dcbb21241663 /openbox/screen.c
parente6486bff0881de6ba710a39f013cfbaf03657467 (diff)
make the new placement restrictions not affect !normal windows like panels
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c5
1 files changed, 1 insertions, 4 deletions
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);
}