aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-05-04 23:35:30 +0200
committerUlrich Sibiller <uli42@gmx.de>2017-05-04 23:50:17 +0200
commitc59710e8eb2d641b0f14d99a4ed14399a0cc7ac5 (patch)
tree3b4e905ea2bd3f25e18aea76dd52b94bcd21fb08
parentf149e36264c31a5b58046b4a38fd2ed6fb29620e (diff)
downloadnx-libs-c59710e8eb2d641b0f14d99a4ed14399a0cc7ac5.tar.gz
nx-libs-c59710e8eb2d641b0f14d99a4ed14399a0cc7ac5.tar.bz2
nx-libs-c59710e8eb2d641b0f14d99a4ed14399a0cc7ac5.zip
remove _X_DEPRECATED for XKeycodeToKeysym
We need that function for performance reasons. By removing _X_DEPRECATED we get rid of compiler warnings.
-rw-r--r--nx-X11/lib/X11/Xlib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/Xlib.h b/nx-X11/lib/X11/Xlib.h
index b68a09f2b..362fdb69e 100644
--- a/nx-X11/lib/X11/Xlib.h
+++ b/nx-X11/lib/X11/Xlib.h
@@ -1680,7 +1680,10 @@ extern XHostAddress *XListHosts(
int* /* nhosts_return */,
Bool* /* state_return */
);
-_X_DEPRECATED
+
+/* this is marked as_X_DEPRECATED in Xorg's upstream libX11 but NX
+ needs it for performance reasons. Should be moved into the
+ server. */
extern KeySym XKeycodeToKeysym(
Display* /* display */,
#if NeedWidePrototypes