From: Dana Jansens Date: Tue, 24 Jul 2007 20:40:31 +0000 (-0400) Subject: use the moveresize client to find the active monitor too X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=92f80b2557b36875b8d173ba3d1c782772b601d7;p=chaz%2Fopenbox use the moveresize client to find the active monitor too --- diff --git a/openbox/screen.c b/openbox/screen.c index 9bbd13d1..330cb0a2 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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;