This commit is contained in:
Kovid Goyal 2019-06-12 08:03:10 +05:30
parent 8bf2e098f5
commit ae9df1ffac
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -24,7 +24,7 @@ else:
break break
else: else:
from ctypes.util import find_library from ctypes.util import find_library
lib = find_library('xkbcommon') lib = ctypes.CDLL(find_library('xkbcommon'))
f = lib.xkb_keysym_from_name f = lib.xkb_keysym_from_name
f.argtypes = [ctypes.c_char_p, ctypes.c_int] f.argtypes = [ctypes.c_char_p, ctypes.c_int]