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.
This commit is contained in:
parent
3cd94d0629
commit
1591c95285
1 changed files with 1 additions and 0 deletions
|
@ -626,6 +626,7 @@ void WinClient::setStrut(Strut *strut) {
|
||||||
void WinClient::clearStrut() {
|
void WinClient::clearStrut() {
|
||||||
if (m_strut != 0) {
|
if (m_strut != 0) {
|
||||||
screen().clearStrut(m_strut);
|
screen().clearStrut(m_strut);
|
||||||
|
screen().updateAvailableWorkspaceArea();
|
||||||
m_strut = 0;
|
m_strut = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue