diff options
author | stwo <stwo@noemail.net> | 2013-01-31 11:49:40 (GMT) |
---|---|---|
committer | stwo <stwo@noemail.net> | 2013-01-31 11:49:40 (GMT) |
commit | 5ca0b055755f8700947e4498792c5184f04f764c (patch) | |
tree | 2b7a02eff512dc58baeb018bcc88c60535091845 /unix/tkUnixKey.c | |
parent | 2aa2f1fd6c43115fa5aa75877f530280d749b430 (diff) | |
download | tk-5ca0b055755f8700947e4498792c5184f04f764c.zip tk-5ca0b055755f8700947e4498792c5184f04f764c.tar.gz tk-5ca0b055755f8700947e4498792c5184f04f764c.tar.bz2 |
Bug [3599928]: Use XkbKeycodeToKeysym if available.
FossilOrigin-Name: fe704e1442e647b9d9159a16fbeb74e58215be07
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r-- | unix/tkUnixKey.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c index b7fc97f..ef5b22c 100644 --- a/unix/tkUnixKey.c +++ b/unix/tkUnixKey.c @@ -11,7 +11,12 @@ */ #include "tkInt.h" -#include <X11/XKBlib.h> + +#ifdef HAVE_XKBKEYCODETOKEYSYM +# include <X11/XKBlib.h> +#else +# define XkbKeycodeToKeysym(D,K,G,L) XKeycodeToKeysym(D,K,L) +#endif /* * Prototypes for local functions defined in this file: |