From 96dba46557b2e18885c2c90c431dc8e4516f83ee Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 11 Sep 2013 06:08:33 +0200 Subject: Add reparented windows to the save-set --- XMonad/Main.hsc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3