diff options
Diffstat (limited to '')
-rw-r--r-- | XMonad/Layout/Decoration.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/XMonad/Layout/Decoration.hs b/XMonad/Layout/Decoration.hs index 89edfcd..88a3a57 100644 --- a/XMonad/Layout/Decoration.hs +++ b/XMonad/Layout/Decoration.hs @@ -165,7 +165,8 @@ instance (DecorationStyle ds Window, Shrinker s) => LayoutModifier (Decoration d handleMess _ _ = return Nothing - emptyLayoutMod (Decoration (I (Just (DS dwrs _))) sh c) _ _ = do deleteWindows (getDWs dwrs) + emptyLayoutMod (Decoration (I (Just (DS dwrs f))) sh c) _ _ = do deleteWindows (getDWs dwrs) + releaseXMF f return ([], Just $ Decoration (I Nothing) sh c) emptyLayoutMod _ _ _ = return ([], Nothing) |