From 92f80b2557b36875b8d173ba3d1c782772b601d7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Jul 2007 16:40:31 -0400 Subject: [PATCH] use the moveresize client to find the active monitor too --- openbox/screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.45.2