mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -07:00
DynamicProperty: execute other hooks
All False short-cuts the default behavior for the event, which leads to a non-functioning window manager. Returning mempty ensures that the default action is still executed,
This commit is contained in:
@@ -58,8 +58,8 @@ dynamicPropertyChange prop hook PropertyEvent { ev_window = w, ev_atom = a, ev_p
|
||||
when (ps == propertyNewValue && a == pa) $ do
|
||||
g <- appEndo <$> userCodeDef (Endo id) (runQuery hook w)
|
||||
windows g
|
||||
return (All False) -- so anything else also processes it
|
||||
dynamicPropertyChange _ _ _ = return (All False)
|
||||
return mempty -- so anything else also processes it
|
||||
dynamicPropertyChange _ _ _ = return mempty
|
||||
|
||||
-- | A shorthand for the most common case, dynamic titles
|
||||
dynamicTitle :: ManageHook -> Event -> X All
|
||||
|
Reference in New Issue
Block a user