use the moveresize client to find the active monitor too

This commit is contained in:
Dana Jansens 2007-07-24 16:40:31 -04:00 committed by Mikael Magnusson
parent 9aed919554
commit 92f80b2557

View file

@ -1555,7 +1555,9 @@ Rect* screen_physical_area_active()
Rect *a; Rect *a;
gint x, y; 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)); a = screen_physical_area_monitor(client_monitor(focus_client));
else { else {
Rect mon; Rect mon;