summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/screen.c4
1 files changed, 3 insertions, 1 deletions
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;