summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 0c80827f..fd624466 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -497,6 +497,10 @@ void screen_update_struts()
/* apply to the 'all desktops' strut */
STRUT_ADD(strut[screen_num_desktops], c->strut);
}
+
+ for (i = 0; i < screen_num_desktops; ++i)
+ STRUT_ADD(strut[i], dock_strut);
+
screen_update_area();
}