all repos — fluxbox @ ea7801d143b56f601716cb57fcc4287838cc23bd

custom fork of the fluxbox windowmanager

ToggleDecor from a window with Deco=TAB should hide the tabs, rather than show titlebar
markt markt
commit

ea7801d143b56f601716cb57fcc4287838cc23bd

parent

197fefe7e49d4ad3ae8e560f95055a79d676735b

2 files changed, 5 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -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.ccsrc/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);