summaryrefslogtreecommitdiff
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 05:13:49 (GMT)
committer Jeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 20:53:01 (GMT)
commit6e4fc5d066d9c1ea4fca444cfee1e73147c5fefb (patch) (side-by-side diff)
tree410da20be001d3c3f12e771442c2c6f65b6cbea0
parente0e2eaf1f30ebce4c0ff28416259d8e976fdf0d7 (diff)
downloadxserver-6e4fc5d066d9c1ea4fca444cfee1e73147c5fefb.zip
xserver-6e4fc5d066d9c1ea4fca444cfee1e73147c5fefb.tar.gz
Xi: CopyKeyClass is not static for XQuartz
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Xi/exevents.c2
-rw-r--r--include/dix.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index 2673552..cb2452b 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -192,7 +192,7 @@ XIGetDevice(xEvent* xE)
* This code is basically the old SwitchCoreKeyboard.
*/
-static void
+void
CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master)
{
KeyClassPtr mk = master->key;
diff --git a/include/dix.h b/include/dix.h
index 49dfe37..b1edb6c 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -592,6 +592,7 @@ extern Bool IsKeyboardDevice(DeviceIntPtr dev);
extern Bool IsPointerEvent(InternalEvent *event);
extern Bool IsMaster(DeviceIntPtr dev);
+extern _X_HIDDEN void CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master);
extern _X_HIDDEN int CorePointerProc(DeviceIntPtr dev, int what);
extern _X_HIDDEN int CoreKeyboardProc(DeviceIntPtr dev, int what);