dont show titlebar if window is maximized
for keyboard-driven workflows with top-panels; also set tabs to the bottom of a window for best effect
This commit is contained in:
parent
b584834bfc
commit
c93515c4ed
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ bool WindowState::useTabs() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WindowState::useTitlebar() const {
|
bool WindowState::useTitlebar() const {
|
||||||
return !fullscreen && deco_mask & DECORM_TITLEBAR;
|
return !fullscreen && maximized != MAX_FULL && deco_mask & DECORM_TITLEBAR;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowState::saveGeometry(int new_x, int new_y,
|
void WindowState::saveGeometry(int new_x, int new_y,
|
||||||
|
|
Loading…
Reference in a new issue