mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-17 04:43:47 -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 :: (LayoutClass l Window, Read (l Window)) => XConfig l -> IO ()
|
||||||
xmonad initxmc = do
|
xmonad initxmc = do
|
||||||
-- setup locale information from environment
|
-- setup locale information from environment
|
||||||
setLocale LC_ALL Nothing
|
setLocale LC_ALL (Just "")
|
||||||
-- ignore SIGPIPE and SIGCHLD
|
-- ignore SIGPIPE and SIGCHLD
|
||||||
installSignalHandlers
|
installSignalHandlers
|
||||||
-- First, wrap the layout in an existential, to keep things pretty:
|
-- First, wrap the layout in an existential, to keep things pretty:
|
||||||
|
Reference in New Issue
Block a user