summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-09-11 06:08:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-09-11 06:08:33 +0200
commit96dba46557b2e18885c2c90c431dc8e4516f83ee (patch)
tree8f50a641bbbbbed2672f2510a55d9e38a322b1a2 /XMonad
parentb2d0396faf5a2ae3cb5e6a6a7ef52d94a524783f (diff)
downloadmetatile-96dba46557b2e18885c2c90c431dc8e4516f83ee.tar
metatile-96dba46557b2e18885c2c90c431dc8e4516f83ee.zip
Add reparented windows to the save-set
Diffstat (limited to 'XMonad')
-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