all repos — fluxbox @ 202b87ae568abab34f8793856a928996a2e63ec6

custom fork of the fluxbox windowmanager

dont use a strut if slit is empty
fluxgen fluxgen
commit

202b87ae568abab34f8793856a928996a2e63ec6

parent

1cfd936fb3efcdfcf3dd31313a83ceb5473237c4

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/Slit.ccsrc/Slit.cc

@@ -359,7 +359,9 @@ void Slit::updateStrut() {

bool had_strut = m_strut ? true : false; clearStrut(); // no need for area if we're autohiding or set maximize over - if (doAutoHide() || *m_rc_maximize_over) { + // or if we dont have any clients + if (doAutoHide() || *m_rc_maximize_over || + clients().empty()) { // update screen area if we had a strut before if (had_strut) screen().updateAvailableWorkspaceArea();