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:
Iris Lightshard 2022-01-15 12:52:16 -07:00
parent b584834bfc
commit c93515c4ed
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -40,7 +40,7 @@ bool WindowState::useTabs() 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,