Avoid warning about deprecated XKeycodeToKeysym
authorNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 8 Dec 2013 21:05:21 +0000 (16:05 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 8 Dec 2013 21:05:21 +0000 (16:05 -0500)
commite045f09be81787fec1dd6a444d6e0ca25d4b83a0
treefee2449a23a8f9c708ba96b576090433ae342771
parentf33e320fa18a63107726355deb186c15bd70caed
Avoid warning about deprecated XKeycodeToKeysym

        * m4/sxe-gui.m4 (SXE_CHECK_XTOOLKITS): Check for XKBlib.h and
  if it exists check for XKbKeycodeToKeysym availability
* src/ui/X11/event-Xt.c: Include XKBlib.h if available
* src/ui/X11/event-Xt.c (whatever): Use XKbKeycodeToKeysym instead
  of XKeycodeToKeysym if available

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
m4/sxe-gui.m4
src/ui/X11/event-Xt.c