summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 4716d23a..73dfeaf1 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1217,8 +1217,8 @@ void BScreen::manageWindow(Window w) {
// desktop windows cant do anything, so we remove all the normal window
// stuff from them, they are only kept around so that we can keep them on
// the bottom of the z-order
- addDesktopWindow(win->getClientWindow());
win->restore(True);
+ addDesktopWindow(win->getClientWindow());
delete win;
return;
}