From c59710e8eb2d641b0f14d99a4ed14399a0cc7ac5 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 4 May 2017 23:35:30 +0200 Subject: remove _X_DEPRECATED for XKeycodeToKeysym We need that function for performance reasons. By removing _X_DEPRECATED we get rid of compiler warnings. --- nx-X11/lib/X11/Xlib.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nx-X11/lib/X11') 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 -- cgit v1.2.3