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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user