summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad/Main.hsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/XMonad/Main.hsc b/XMonad/Main.hsc
index 03195ae..ed904ac 100644
--- a/XMonad/Main.hsc
+++ b/XMonad/Main.hsc
@@ -325,6 +325,7 @@ reparent w = withDisplay $ \dpy -> do
createWindow dpy rootw (-1) (-1) 1 1 0 copyFromParent inputOutput (Visual nullPtr) (cWBackPixel.|.cWBorderPixel.|.cWOverrideRedirect) swa
io $ do
unmapWindow dpy w
+ addToSaveSet dpy w
reparentWindow dpy w frame 0 0
modifyWindowState (\ws -> ws { wsFrame = frame }) w