summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-09 16:26:15 -0500
committerDana Jansens <danakj@orodu.net>2009-12-09 16:39:58 -0500
commit10d99cc5e9efe40527c6ace3740b67890ea37729 (patch)
tree9b6c2a06f8d0d9b184e929860673253b3b0374b5 /openbox
parentade3b4dd69cf275bbaf5de663e1b723d6c073eb1 (diff)
Bug in choosing the active monitor when doing a move/resize
Diffstat (limited to 'openbox')
-rw-r--r--openbox/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index b0fa17dd..899b4bc3 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -1729,7 +1729,7 @@ Rect* screen_physical_area_active(void)
gint x, y;
if (moveresize_client)
- a = screen_physical_area_monitor(client_monitor(focus_client));
+ a = screen_physical_area_monitor(client_monitor(moveresize_client));
else if (focus_client)
a = screen_physical_area_monitor(client_monitor(focus_client));
else {