mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-12 02:35:59 -07:00
Merge pull request #411 from PRESFIL/fix-Example.hs
Fix transients managing in X.C.Example
This commit is contained in:
@@ -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
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user