summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-29 12:57:35 +0000
committerDana Jansens <danakj@orodu.net>2007-06-29 12:57:35 +0000
commitbf0179b7ebdd354cb63a05762e8a602063cd0596 (patch)
tree115caeadd58d65a18cfba63e9890e7a37f758f1d /openbox
parent01a35904fec67a7f92a0eb7f19457e79ca3d0988 (diff)
compliance over functionlity
Diffstat (limited to 'openbox')
-rw-r--r--openbox/screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 1a01bfbf..0dfca59c 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -1288,8 +1288,10 @@ void screen_update_areas()
dims[(i * screen_num_desktops + j) * 4 + 3] -= t + b;
}
+ /* all the work areas are not used here, only the ones for the first
+ monitor are */
PROP_SETA32(RootWindow(ob_display, ob_screen), net_workarea, cardinal,
- dims, 4 * screen_num_desktops * screen_num_monitors);
+ dims, 4 * screen_num_desktops);
/* the area has changed, adjust all the windows if they need it */
for (it = client_list; it; it = g_list_next(it))