diff options
author | stwo <stwo@noemail.net> | 2013-01-31 11:41:18 (GMT) |
---|---|---|
committer | stwo <stwo@noemail.net> | 2013-01-31 11:41:18 (GMT) |
commit | 2d1b0274d5e53f21d9a3d29a4db766f62966d9c2 (patch) | |
tree | 45ce59bcddb014db163b1cef43f02bc642cdf6fa /unix/tkUnixKey.c | |
parent | 3241544df98d4b14d127c1423f83ff63266f9563 (diff) | |
download | tk-2d1b0274d5e53f21d9a3d29a4db766f62966d9c2.zip tk-2d1b0274d5e53f21d9a3d29a4db766f62966d9c2.tar.gz tk-2d1b0274d5e53f21d9a3d29a4db766f62966d9c2.tar.bz2 |
Bug [3599928]: Use XkbKeycodeToKeysym if available.
FossilOrigin-Name: addedfa63bb5776733cc58fb6d81b82dda7a6451
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r-- | unix/tkUnixKey.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c index d07f13a..d2de6f7 100644 --- a/unix/tkUnixKey.c +++ b/unix/tkUnixKey.c @@ -11,6 +11,13 @@ */ #include "tkInt.h" + +#ifdef HAVE_XKBKEYCODETOKEYSYM +# include <X11/XKBlib.h> +#else +# define XkbKeycodeToKeysym(D,K,G,L) XKeycodeToKeysym(D,K,L) +#endif + #include <X11/XKBlib.h> /* |