ToggleDecor from a window with Deco=TAB should hide the tabs, rather than show titlebar
markt markt
2 files changed,
5 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,5 +1,8 @@
(Format: Year/Month/Day) Changes for 1.0.1: +*07/11/16: + * Using ToggleDecor from Deco=TAB should hide tabs (thanks Tomas Janousek) + Window.cc *07/11/12: * Allow arbitrary window patterns for the iconbar mode (Mark) - Note: for now, if you match against the current head of a window, it will
M
src/Window.cc
→
src/Window.cc
@@ -1547,7 +1547,7 @@ fullscreen = false;
frame().setUseShape(true); if (m_toggled_decos) { - if (m_old_decoration_mask & DECORM_TITLEBAR) + if (m_old_decoration_mask & (DECORM_TITLEBAR | DECORM_TAB)) setDecorationMask(DECOR_NONE); else setDecorationMask(DECOR_NORMAL);@@ -3050,7 +3050,7 @@ m_toggled_decos = !m_toggled_decos;
if (m_toggled_decos) { m_old_decoration_mask = decorationMask(); - if (decorations.titlebar) + if (decorations.titlebar | decorations.tab) setDecorationMask(DECOR_NONE); else setDecorationMask(DECOR_NORMAL);