ecore_x: XKeycodeToKeysym
authorngc891 <ngc891@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Jun 2012 05:46:33 +0000 (05:46 +0000)
committerngc891 <ngc891@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Jun 2012 05:46:33 +0000 (05:46 +0000)
commit4ad9e56824bddfb625e224c1f42c6bc205194736
treebfc58e30b1c2bc3be6b6e59f5f588ff25b9e0a2e
parent6160ae92bd8011e9d23a0872f15f6356445c69f6
ecore_x: XKeycodeToKeysym

ecore_x is calling XKeycodeToKeysym from xlib, but this function has issues. It
has been deprecated 6 months ago in X.org and it is suggested to use
XkbKeycodeToKeysym instead: https://bugs.freedesktop.org/show_bug.cgi?id=25732

This commit makes a wrapper function that makes use of XkbKeycodeToKeysym when
possible or fallback to XKeycodeToKeysym otherwise.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@71677 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore_x/xlib/ecore_x.c
src/lib/ecore_x/xlib/ecore_x_events.c
src/lib/ecore_x/xlib/ecore_x_private.h
src/lib/ecore_x/xlib/ecore_x_test.c