Merge pull request #411 from PRESFIL/fix-Example.hs

Fix transients managing in X.C.Example
This commit is contained in:
Brent Yorgey
2020-12-02 13:17:28 -06:00
committed by GitHub

View File

@@ -69,11 +69,11 @@ myXPConfig = def
-- Use the `xprop' tool to get the info you need for these matches. -- Use the `xprop' tool to get the info you need for these matches.
-- For className, use the second value that xprop gives you. -- For className, use the second value that xprop gives you.
myManageHook = composeOne myManageHook = composeOne
[ className =? "Pidgin" -?> doFloat -- Handle floating windows:
, className =? "XCalc" -?> doFloat [ transience -- move transient windows to their parent
, className =? "mpv" -?> doFloat
, isDialog -?> doCenterFloat , isDialog -?> doCenterFloat
] <+> composeAll
-- Move transient windows to their parent: [ className =? "Pidgin" --> doFloat
, transience , className =? "XCalc" --> doFloat
, className =? "mpv" --> doFloat
] ]