no strut for docks that autohide
Dana Jansens danakj@orodu.net
2 files changed,
8 insertions(+),
7 deletions(-)
M
data/rc.xml
→
data/rc.xml
@@ -12,7 +12,7 @@ </resistance>
<focus> <focusNew>yes</focusNew> - <focusLast>no</focusLast> + <focusLast>yes</focusLast> <followMouse>no</followMouse> <focusDelay>200</focusDelay> <raiseOnFocus>no</raiseOnFocus>@@ -41,7 +41,7 @@ <keepBorder>yes</keepBorder>
<animateIconify>yes</animateIconify> <font place="ActiveWindow"> <name>sans</name> - <size>7</size> + <size>8</size> <!-- font size in points --> <weight>bold</weight> <!-- 'bold' or 'normal' -->@@ -50,7 +50,7 @@ <!-- 'italic' or 'normal' -->
</font> <font place="InactiveWindow"> <name>sans</name> - <size>7</size> + <size>8</size> <!-- font size in points --> <weight>bold</weight> <!-- 'bold' or 'normal' -->@@ -59,9 +59,9 @@ <!-- 'italic' or 'normal' -->
</font> <font place="MenuHeader"> <name>sans</name> - <size>8</size> + <size>9</size> <!-- font size in points --> - <weight>bold</weight> + <weight>normal</weight> <!-- 'bold' or 'normal' --> <slant>normal</slant> <!-- 'italic' or 'normal' -->@@ -70,7 +70,7 @@ <font place="MenuItem">
<name>sans</name> <size>9</size> <!-- font size in points --> - <weight>bold</weight> + <weight>normal</weight> <!-- 'bold' or 'normal' --> <slant>normal</slant> <!-- 'italic' or 'normal' -->
M
openbox/dock.c
→
openbox/dock.c
@@ -414,7 +414,8 @@ /* set the strut */
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 {