summaryrefslogtreecommitdiff
path: root/mi/mi.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-20 10:55:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-22 15:44:57 +1000
commitebe45e1a72a81ad22413e5d0514869b3e45a69b7 (patch)
tree3932faf98c84b604e123b7e12a00cce52a4c4bb0 /mi/mi.h
parentbc63c8a4570c989f19a036965854bceb9800ce19 (diff)
input: introduce partial class copying depending on the event.
Copying all classes into the master device has drawbacks for hybrid devices (devices that are both mice and keyboards). If such a device posts an event, it's key classes are moved into the VCP. The key event itself is unaffected by keyboard grabs and the like. Partial class copying copies depending on the event and copies the classes into the right master device (i.e. the VCK for key events, the VCP for pointer events). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi/mi.h')
-rw-r--r--mi/mi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/mi/mi.h b/mi/mi.h
index 182cea593..4431239cf 100644
--- a/mi/mi.h
+++ b/mi/mi.h
@@ -221,11 +221,10 @@ extern _X_EXPORT void mieqProcessInputEvents(
void
);
-extern void CopyGetMasterEvent(
- DeviceIntPtr /* mdev */,
+extern DeviceIntPtr CopyGetMasterEvent(
DeviceIntPtr /* sdev */,
InternalEvent* /* original */,
- EventListPtr /* master */
+ EventListPtr /* mlist */
);
/**