summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
diff options
context:
space:
mode:
authorNikolay Yakimov <root@livid.pp.ru>2021-08-12 08:12:33 +0300
committerNikolay Yakimov <root@livid.pp.ru>2021-08-12 22:14:17 +0300
commit30747e72a4701f6af808cc41d45ee270839d387e (patch)
tree3f1fe850ee6997c474995ccac4e282c351dab3be /src/Xmobar
parentb401e8fceab54e998d3a533fc458d2cbcec57021 (diff)
downloadxmobar-30747e72a4701f6af808cc41d45ee270839d387e.tar.gz
xmobar-30747e72a4701f6af808cc41d45ee270839d387e.tar.bz2
Fix xkbFreeNames call in getLayoutStr
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