aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Slit.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 265bf8b..d2d33b8 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -359,7 +359,9 @@ void Slit::updateStrut() {
359 bool had_strut = m_strut ? true : false; 359 bool had_strut = m_strut ? true : false;
360 clearStrut(); 360 clearStrut();
361 // no need for area if we're autohiding or set maximize over 361 // no need for area if we're autohiding or set maximize over
362 if (doAutoHide() || *m_rc_maximize_over) { 362 // or if we dont have any clients
363 if (doAutoHide() || *m_rc_maximize_over ||
364 clients().empty()) {
363 // update screen area if we had a strut before 365 // update screen area if we had a strut before
364 if (had_strut) 366 if (had_strut)
365 screen().updateAvailableWorkspaceArea(); 367 screen().updateAvailableWorkspaceArea();