]> Dogcows Code - chaz/openbox/blobdiff - openbox/resist.c
xinerama support like crazy for struts and everything else too. this probably crashes...
[chaz/openbox] / openbox / resist.c
index e4596840f79ed7b93338d1c6c75a53acccf9160c..3ab04a98d5bc031f2446e4611adb945d276b1712 100644 (file)
@@ -152,7 +152,8 @@ void resist_move_monitors(ObClient *c, gint resist, gint *x, gint *y)
             continue;
         }
 
-        area = screen_area_monitor(c->desktop, i, &desired_area);
+        area = screen_area(c->desktop, SCREEN_AREA_ALL_MONITORS,
+                           &desired_area);
 
         al = RECT_LEFT(*area);
         at = RECT_TOP(*area);
@@ -307,7 +308,8 @@ void resist_size_monitors(ObClient *c, gint resist, gint *w, gint *h,
             continue;
         }
 
-        area = screen_area_monitor(c->desktop, i, &desired_area);
+        area = screen_area(c->desktop, SCREEN_AREA_ALL_MONITORS,
+                           &desired_area);
 
         /* get the screen boundaries */
         al = RECT_LEFT(*area);
This page took 0.020942 seconds and 4 git commands to generate.