compliance over functionlity
authorDana Jansens <danakj@orodu.net>
Fri, 29 Jun 2007 12:57:35 +0000 (12:57 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 29 Jun 2007 12:57:35 +0000 (12:57 +0000)
openbox/screen.c

index 1a01bfb..0dfca59 100644 (file)
@@ -1288,8 +1288,10 @@ void screen_update_areas()
             dims[(i * screen_num_desktops + j) * 4 + 3] -= t + b;
         }
 
             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,
     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))
 
     /* the area has changed, adjust all the windows if they need it */
     for (it = client_list; it; it = g_list_next(it))