From c93515c4ed117dda2683a76e798ad699f0c93a61 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sat, 15 Jan 2022 12:52:16 -0700 Subject: [PATCH] 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 --- src/WindowState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WindowState.cc b/src/WindowState.cc index 4bd8f614..07974d1d 100644 --- a/src/WindowState.cc +++ b/src/WindowState.cc @@ -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,