diff options
author | Steve Zesch <[email protected]> | 2012-11-20 20:57:16 -0800 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-11-20 20:57:16 -0800 |
commit | 3ba516419041962944da9f9bdf0cb55810a2ad02 (patch) | |
tree | 620d5fa2f8be7c9a65313c6a238cc349e6faaad4 /src/core/display.c | |
parent | d72b5f2a0bbd035a98979c3519de90a194f67e05 (diff) | |
parent | 3c82397d3fdbbaa8d1614a6f5eeeaad4ef20d3f6 (diff) | |
download | marco-3ba516419041962944da9f9bdf0cb55810a2ad02.tar.bz2 marco-3ba516419041962944da9f9bdf0cb55810a2ad02.tar.xz |
Merge pull request #26 from sbalneav/master
Deprecations and warnings
Diffstat (limited to 'src/core/display.c')
-rw-r--r-- | src/core/display.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/display.c b/src/core/display.c index eccb5497..a66dfc9f 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -2805,7 +2805,11 @@ key_event_description (Display *xdisplay, KeySym keysym; const char *str; +#ifdef HAVE_XKB + keysym = XkbKeycodeToKeysym (xdisplay, event->xkey.keycode, 0, 0); +#else keysym = XKeycodeToKeysym (xdisplay, event->xkey.keycode, 0); +#endif str = XKeysymToString (keysym); |