From a736986ecb7ece687c735a77d116e5374486e21e Mon Sep 17 00:00:00 2001 From: Avasam Date: Wed, 16 Nov 2022 18:18:20 -0500 Subject: [PATCH] Missing imports in Xlib.XK `keysym_to_string` compares against non-imported symbols --- Xlib/XK.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Xlib/XK.py b/Xlib/XK.py index 7603ccd0..9117125d 100644 --- a/Xlib/XK.py +++ b/Xlib/XK.py @@ -24,6 +24,7 @@ # definition modules in the Xlib/keysymdef directory. from Xlib.X import NoSymbol +from Xlib.keysymdef.miscellany import XK_BackSpace, XK_Clear, XK_Delete, XK_Escape, XK_Pause, XK_Return, XK_Scroll_Lock, XK_Tab def string_to_keysym(keysym): '''Return the (16 bit) numeric code of keysym.