aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc4
1 files changed, 2 insertions, 2 deletions
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);