From 7a39cb3e8db767effc47508168b4b1dffb321224 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 13 May 2007 21:06:23 +0000 Subject: [PATCH] no strut for docks that autohide --- data/rc.xml | 12 ++++++------ openbox/dock.c | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/data/rc.xml b/data/rc.xml index d96568ef..42b45cce 100644 --- a/data/rc.xml +++ b/data/rc.xml @@ -12,7 +12,7 @@ yes - no + yes no 200 no @@ -41,7 +41,7 @@ yes sans - 7 + 8 bold @@ -50,7 +50,7 @@ sans - 7 + 8 bold @@ -59,9 +59,9 @@ sans - 8 + 9 - bold + normal normal @@ -70,7 +70,7 @@ sans 9 - bold + normal normal diff --git a/openbox/dock.c b/openbox/dock.c index 697261e2..8967b8b1 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -414,7 +414,8 @@ void dock_configure() if (!dock->dock_apps) { STRUT_PARTIAL_SET(dock_strut, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - } else if (config_dock_floating || config_dock_nostrut) { + } else if (config_dock_floating || config_dock_nostrut || config_dock_hide) + { STRUT_PARTIAL_SET(dock_strut, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); } else { -- 2.45.2