aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-11-16 23:20:54 (GMT)
committermarkt <markt>2007-11-16 23:20:54 (GMT)
commitea7801d143b56f601716cb57fcc4287838cc23bd (patch)
treefb53a10c359040b05ce7339d7f4497deeada996d /src/Window.cc
parent197fefe7e49d4ad3ae8e560f95055a79d676735b (diff)
downloadfluxbox-ea7801d143b56f601716cb57fcc4287838cc23bd.zip
fluxbox-ea7801d143b56f601716cb57fcc4287838cc23bd.tar.bz2
ToggleDecor from a window with Deco=TAB should hide the tabs, rather than show titlebar
Diffstat (limited to 'src/Window.cc')
-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);