aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include')
-rw-r--r--xorg-server/include/privates.h2
-rw-r--r--xorg-server/include/xkbsrv.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/xorg-server/include/privates.h b/xorg-server/include/privates.h
index 2774776ab..9b578e467 100644
--- a/xorg-server/include/privates.h
+++ b/xorg-server/include/privates.h
@@ -177,7 +177,7 @@ static inline pointer *
dixLookupPrivateAddr(PrivatePtr *privates, const DevPrivateKey key)
{
assert (key->size == 0);
- return dixGetPrivateAddr(privates, key);
+ return (pointer *)dixGetPrivateAddr(privates, key);
}
/*
diff --git a/xorg-server/include/xkbsrv.h b/xorg-server/include/xkbsrv.h
index ce29a8150..f0b0b25fa 100644
--- a/xorg-server/include/xkbsrv.h
+++ b/xorg-server/include/xkbsrv.h
@@ -927,6 +927,12 @@ extern int XkbGetEffectiveGroup(
extern void XkbMergeLockedPtrBtns(
DeviceIntPtr /* master */);
+extern void XkbFakeDeviceButton(
+ DeviceIntPtr /* dev */,
+ int /* press */,
+ int /* button */);
+
+
#include "xkbfile.h"
#include "xkbrules.h"