projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3332858
)
Add a comment for commit ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding struts...
author
Dana Jansens
<danakj@orodu.net>
Sat, 21 Nov 2009 21:33:35 +0000
(16:33 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 21 Nov 2009 21:33:35 +0000
(16:33 -0500)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index
5ca0832
..
3e27903
100644
(file)
--- a/
openbox/screen.c
+++ b/
openbox/screen.c
@@
-1469,6
+1469,9
@@
void screen_update_areas(void)
b = MAX(b, s->strut->bottom);
}
+ /* if the monitor is not against the edge of the root window,
+ the struts will include the distance from the root window's edge
+ to the monitor, so add that back into the monitor's work area */
if (l) l += RECT_LEFT (monitor_area[screen_num_monitors])
- RECT_LEFT (monitor_area[i]);
if (t) t += RECT_TOP (monitor_area[screen_num_monitors])