diff options
author | Nikolay Yakimov <root@livid.pp.ru> | 2021-08-12 08:12:33 +0300 |
---|---|---|
committer | Nikolay Yakimov <root@livid.pp.ru> | 2021-08-12 22:14:17 +0300 |
commit | 30747e72a4701f6af808cc41d45ee270839d387e (patch) | |
tree | 3f1fe850ee6997c474995ccac4e282c351dab3be /src | |
parent | b401e8fceab54e998d3a533fc458d2cbcec57021 (diff) | |
download | xmobar-30747e72a4701f6af808cc41d45ee270839d387e.tar.gz xmobar-30747e72a4701f6af808cc41d45ee270839d387e.tar.bz2 |
Fix xkbFreeNames call in getLayoutStr
Diffstat (limited to 'src')
-rw-r--r-- | src/Xmobar/System/Kbd.hsc | 2 |
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 |