]> Dogcows Code - chaz/openbox/commitdiff
use the moveresize client to find the active monitor too
authorDana Jansens <danakj@orodu.net>
Tue, 24 Jul 2007 20:40:31 +0000 (16:40 -0400)
committerMikael Magnusson <mikachu@comhem.se>
Thu, 26 Jul 2007 08:48:05 +0000 (10:48 +0200)
openbox/screen.c

index 9bbd13d183181208873b0769fa1957882e28babe..330cb0a2e9c804917bc6b9477761f9c50355fc2a 100644 (file)
@@ -1555,7 +1555,9 @@ Rect* screen_physical_area_active()
     Rect *a;
     gint x, y;
 
-    if (focus_client)
+    if (moveresize_client)
+        a = screen_physical_area_monitor(client_monitor(focus_client));
+    else if (focus_client)
         a = screen_physical_area_monitor(client_monitor(focus_client));
     else {
         Rect mon;
This page took 0.022471 seconds and 4 git commands to generate.