all repos — openbox @ ac6cd2344f2afda023ac08017e0d2b19b0f66df8

openbox fork - make it a bit more like ryudo

Add a comment for commit ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding struts with multiple monitors.
Dana Jansens danakj@orodu.net
commit

ac6cd2344f2afda023ac08017e0d2b19b0f66df8

parent

33328583a143677d27eb3d081ce66532c3aaca1c

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M openbox/screen.copenbox/screen.c

@@ -1469,6 +1469,9 @@ STRUT_BOTTOM_ON_MONITOR(s->strut, i))

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])