From 7a166a383805f7693e0800f3bf693e3736463a0d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 16 May 2003 19:15:56 +0000 Subject: give the dock a strut and use it --- openbox/screen.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/screen.c') 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(); } -- cgit v1.2.3