summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-30 21:50:24 +0000
committerDana Jansens <danakj@orodu.net>2003-01-30 21:50:24 +0000
commit5de35ba1f75b4004bebec70c582b17f2f8820439 (patch)
tree222073e7d0619bfbdc0a64bfc2d5c139c56f68e1
parentc0446bba1fd2ab8e90b342e9af13bdc6e59948cd (diff)
update the strut when a client is unmanaged
-rw-r--r--src/screen.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screen.cc b/src/screen.cc
index f86ea6b0..60208ef0 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -608,6 +608,10 @@ void Screen::unmanageWindow(Client *client)
// remove from the screen's list
clients.remove(client);
+ // once the client is out of the list, update our strut to remove it's
+ // influence
+ updateStrut();
+
// unfocus the client (calls the focus callbacks)
client->unfocus();