ToggleDecor from a window with Deco=TAB should hide the tabs, rather than show titlebar
This commit is contained in:
parent
197fefe7e4
commit
ea7801d143
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1547,7 +1547,7 @@ void FluxboxWindow::setFullscreen(bool flag) {
|
|||
|
||||
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 @@ void FluxboxWindow::toggleDecoration() {
|
|||
|
||||
if (m_toggled_decos) {
|
||||
m_old_decoration_mask = decorationMask();
|
||||
if (decorations.titlebar)
|
||||
if (decorations.titlebar | decorations.tab)
|
||||
setDecorationMask(DECOR_NONE);
|
||||
else
|
||||
setDecorationMask(DECOR_NORMAL);
|
||||
|
|
Loading…
Reference in a new issue