diff options
author | Adam Vogt <vogt.adam@gmail.com> | 2015-02-27 03:52:28 +0100 |
---|---|---|
committer | Adam Vogt <vogt.adam@gmail.com> | 2015-02-27 03:52:28 +0100 |
commit | 883fae53d9c3d892d39909e06d035860a3e0e45f (patch) | |
tree | 7487133d85acb1beb2d6e201837f3ea3bc255f93 | |
parent | 28d02dbaa853a9859e84c346057ff63fcef054a9 (diff) | |
download | xmonad-883fae53d9c3d892d39909e06d035860a3e0e45f.tar.gz xmonad-883fae53d9c3d892d39909e06d035860a3e0e45f.tar.xz xmonad-883fae53d9c3d892d39909e06d035860a3e0e45f.zip |
use setLocale properly
Ignore-this: 80ca1041e5e5847f4df086df66237a09
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.
darcs-hash:20150227025228-1499c-c5217002e0bb8561f052d08b72fe67cbdeaaedc4.gz
-rw-r--r-- | src/XMonad/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XMonad/Main.hs b/src/XMonad/Main.hs index 1208111..faa8d02 100644 --- a/src/XMonad/Main.hs +++ b/src/XMonad/Main.hs @@ -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: |