projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aed919
)
use the moveresize client to find the active monitor too
author
Dana Jansens
<danakj@orodu.net>
Tue, 24 Jul 2007 20:40:31 +0000
(16:40 -0400)
committer
Mikael Magnusson
<mikachu@comhem.se>
Thu, 26 Jul 2007 08:48:05 +0000
(10:48 +0200)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index
9bbd13d
..
330cb0a
100644
(file)
--- 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;