From 1591c9528579fe7966b2011997c599b00f1ade60 Mon Sep 17 00:00:00 2001
From: mathias <mathias>
Date: Wed, 20 Apr 2005 15:55:56 +0000
Subject: fixes a problem with clients which define/request a Strut (see
 http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2507548), eg
 kicker: after killing/closing kicker the availableWorkspaceArea is not
 recalculated which lead to kind of invisible barrier where the Strut was.

---
 src/WinClient.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/WinClient.cc b/src/WinClient.cc
index 97f9082..fe02187 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -626,6 +626,7 @@ void WinClient::setStrut(Strut *strut) {
 void WinClient::clearStrut() {
     if (m_strut != 0) {
         screen().clearStrut(m_strut);
+        screen().updateAvailableWorkspaceArea();
         m_strut = 0;
     }
 }
-- 
cgit v0.11.2