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;
|
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;
|
||||||
|
|
Loading…
Reference in a new issue