diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-09-11 06:08:33 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-09-11 06:08:33 +0200 |
commit | 96dba46557b2e18885c2c90c431dc8e4516f83ee (patch) | |
tree | 8f50a641bbbbbed2672f2510a55d9e38a322b1a2 | |
parent | b2d0396faf5a2ae3cb5e6a6a7ef52d94a524783f (diff) | |
download | metatile-96dba46557b2e18885c2c90c431dc8e4516f83ee.tar metatile-96dba46557b2e18885c2c90c431dc8e4516f83ee.zip |
Add reparented windows to the save-set
-rw-r--r-- | XMonad/Main.hsc | 1 |
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 |