Make xmessage handle UTF-8 and export it

This unfortunately breaks xmonad-contrib as several modules define their
own `xmessage` function.

Related: https://github.com/xmonad/xmonad/pull/309
This commit is contained in:
Tomas Janousek
2021-08-07 21:37:50 +01:00
parent 3b6d00ba91
commit aa35ea1856
4 changed files with 17 additions and 12 deletions

View File

@@ -239,7 +239,7 @@ keys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
, (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
where
helpCommand :: X ()
helpCommand = spawn ("printf " ++ show help ++ " | xmessage -file -")
helpCommand = xmessage help
-- | Mouse bindings: default actions bound to mouse events
mouseBindings :: XConfig Layout -> M.Map (KeyMask, Button) (Window -> X ())