aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/Xlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/Xlib.h')
-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