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.
-- For className, use the second value that xprop gives you.
myManageHook = composeOne
[ className =? "Pidgin" -?> doFloat
, className =? "XCalc" -?> doFloat
, className =? "mpv" -?> doFloat
-- Handle floating windows:
[ transience -- move transient windows to their parent
, isDialog -?> doCenterFloat
-- Move transient windows to their parent:
, transience
] <+> composeAll
[ className =? "Pidgin" --> doFloat
, className =? "XCalc" --> doFloat
, className =? "mpv" --> doFloat
]