diff options
author | markt <markt> | 2007-11-16 23:20:54 (GMT) |
---|---|---|
committer | markt <markt> | 2007-11-16 23:20:54 (GMT) |
commit | ea7801d143b56f601716cb57fcc4287838cc23bd (patch) | |
tree | fb53a10c359040b05ce7339d7f4497deeada996d | |
parent | 197fefe7e49d4ad3ae8e560f95055a79d676735b (diff) | |
download | fluxbox-ea7801d143b56f601716cb57fcc4287838cc23bd.zip fluxbox-ea7801d143b56f601716cb57fcc4287838cc23bd.tar.bz2 |
ToggleDecor from a window with Deco=TAB should hide the tabs, rather than show titlebar
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Window.cc | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0.1: | 2 | Changes for 1.0.1: |
3 | *07/11/16: | ||
4 | * Using ToggleDecor from Deco=TAB should hide tabs (thanks Tomas Janousek) | ||
5 | Window.cc | ||
3 | *07/11/12: | 6 | *07/11/12: |
4 | * Allow arbitrary window patterns for the iconbar mode (Mark) | 7 | * Allow arbitrary window patterns for the iconbar mode (Mark) |
5 | - Note: for now, if you match against the current head of a window, it will | 8 | - Note: for now, if you match against the current head of a window, it will |
diff --git a/src/Window.cc b/src/Window.cc index d5bdf39..78b30c2 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1547,7 +1547,7 @@ void FluxboxWindow::setFullscreen(bool flag) { | |||
1547 | 1547 | ||
1548 | frame().setUseShape(true); | 1548 | frame().setUseShape(true); |
1549 | if (m_toggled_decos) { | 1549 | if (m_toggled_decos) { |
1550 | if (m_old_decoration_mask & DECORM_TITLEBAR) | 1550 | if (m_old_decoration_mask & (DECORM_TITLEBAR | DECORM_TAB)) |
1551 | setDecorationMask(DECOR_NONE); | 1551 | setDecorationMask(DECOR_NONE); |
1552 | else | 1552 | else |
1553 | setDecorationMask(DECOR_NORMAL); | 1553 | setDecorationMask(DECOR_NORMAL); |
@@ -3050,7 +3050,7 @@ void FluxboxWindow::toggleDecoration() { | |||
3050 | 3050 | ||
3051 | if (m_toggled_decos) { | 3051 | if (m_toggled_decos) { |
3052 | m_old_decoration_mask = decorationMask(); | 3052 | m_old_decoration_mask = decorationMask(); |
3053 | if (decorations.titlebar) | 3053 | if (decorations.titlebar | decorations.tab) |
3054 | setDecorationMask(DECOR_NONE); | 3054 | setDecorationMask(DECOR_NONE); |
3055 | else | 3055 | else |
3056 | setDecorationMask(DECOR_NORMAL); | 3056 | setDecorationMask(DECOR_NORMAL); |