summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
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))