mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-07 15:31:54 -07:00
Decoration: after deleting the windows we must update the layout modifier
Thanks to Feuerbach for reporting this.
This commit is contained in:
@@ -165,7 +165,8 @@ instance (DecorationStyle ds Window, Shrinker s) => LayoutModifier (Decoration d
|
|||||||
|
|
||||||
handleMess _ _ = return Nothing
|
handleMess _ _ = return Nothing
|
||||||
|
|
||||||
emptyLayoutMod (Decoration (I (Just (DS dwrs _))) _ _) _ _ = deleteWindows (getDWs dwrs) >> return ([], Nothing)
|
emptyLayoutMod (Decoration (I (Just (DS dwrs _))) sh c) _ _ = do deleteWindows (getDWs dwrs)
|
||||||
|
return ([], Just $ Decoration (I Nothing) sh c)
|
||||||
emptyLayoutMod _ _ _ = return ([], Nothing)
|
emptyLayoutMod _ _ _ = return ([], Nothing)
|
||||||
|
|
||||||
modifierDescription (Decoration _ _ c) = describeDeco $ style c
|
modifierDescription (Decoration _ _ c) = describeDeco $ style c
|
||||||
|
Reference in New Issue
Block a user