1
0
mirror of https://github.com/xmonad/xmonad.git synced 2025-08-13 19:15:44 -07:00

use setLocale properly

passing in Nothing returns the locale, while Just "" sets the locale according
to environment variables (which is what was being done before).

Thanks to geekosaur & v_v for finding this.
This commit is contained in:
Adam Vogt
2015-02-27 02:52:28 +00:00
parent 73ee008cf6
commit 28c3482411

@@ -48,7 +48,7 @@ import System.IO
xmonad :: (LayoutClass l Window, Read (l Window)) => XConfig l -> IO ()
xmonad initxmc = do
-- setup locale information from environment
setLocale LC_ALL Nothing
setLocale LC_ALL (Just "")
-- ignore SIGPIPE and SIGCHLD
installSignalHandlers
-- First, wrap the layout in an existential, to keep things pretty: