diff options
-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); |