summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar')
-rw-r--r--src/Xmobar/System/Kbd.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/System/Kbd.hsc b/src/Xmobar/System/Kbd.hsc
index 3a4ecda..bbacc8f 100644
--- a/src/Xmobar/System/Kbd.hsc
+++ b/src/Xmobar/System/Kbd.hsc
@@ -303,7 +303,7 @@ getLayoutStr dpy = do
kbdDescPtr <- xkbAllocKeyboard
status <- xkbGetNames dpy xkbSymbolsNameMask kbdDescPtr
str <- getLayoutStr' status dpy kbdDescPtr
- xkbFreeNames kbdDescPtr xkbGroupNamesMask 1
+ xkbFreeNames kbdDescPtr xkbSymbolsNameMask 1
xkbFreeKeyboard kbdDescPtr 0 1
return str