]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
Add a comment for commit ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding struts...
[chaz/openbox] / openbox / screen.c
index 5ca0832ce29a6fefd4d0a4bc83b876ae5544e80b..3e27903fba2c95c70bf994e90cfa5c53a2994e7e 100644 (file)
@@ -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])
This page took 0.022391 seconds and 4 git commands to generate.