use the moveresize client to find the active monitor too
This commit is contained in:
parent
9aed919554
commit
92f80b2557
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue