aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xkb/XKB.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xkb/XKB.c')
-rw-r--r--libX11/src/xkb/XKB.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libX11/src/xkb/XKB.c b/libX11/src/xkb/XKB.c
index ecc5ddf0a..e71b26d89 100644
--- a/libX11/src/xkb/XKB.c
+++ b/libX11/src/xkb/XKB.c
@@ -36,6 +36,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XKBproto.h>
#include "XKBlibint.h"
+#ifdef XKB_IN_SERVER
+#define XkbVirtualModsToReal SrvXkbVirtualModsToReal
+#endif
+
XkbInternAtomFunc _XkbInternAtomFunc= XInternAtom;
XkbGetAtomNameFunc _XkbGetAtomNameFunc= XGetAtomName;