summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-26 22:13:49 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-26 23:30:41 -0700
commitfba8c702ba6aa8fac27682e0838fd744e197d54f (patch)
treea8b2a5b56cccecfcec5c12068668f662ed95cf14
parentdc1e1bebff8b9d1eb6196dfd4b2f52f1e4200efa (diff)
Xi: CopyKeyClass is not static for XQuartz
(cherry picked from commit 85d6402354cdf143c6490f2725744c2f08b5605b)
-rw-r--r--Xi/exevents.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index 2673552ce..5e73bf3c2 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -192,7 +192,10 @@ XIGetDevice(xEvent* xE)
* This code is basically the old SwitchCoreKeyboard.
*/
-static void
+#ifndef XQUARTZ
+static
+#endif
+void
CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master)
{
KeyClassPtr mk = master->key;