summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-16 19:15:56 +0000
committerDana Jansens <danakj@orodu.net>2003-05-16 19:15:56 +0000
commit7a166a383805f7693e0800f3bf693e3736463a0d (patch)
tree4ca6aa7fde49193aac5cc9a4e35eb451b6868d00 /openbox/screen.c
parent66d3006671e7729b3f6244c49fda175caaae5174 (diff)
give the dock a strut and use it
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();
}