diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-20 10:55:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-22 15:44:57 +1000 |
commit | ebe45e1a72a81ad22413e5d0514869b3e45a69b7 (patch) | |
tree | 3932faf98c84b604e123b7e12a00cce52a4c4bb0 /mi/mi.h | |
parent | bc63c8a4570c989f19a036965854bceb9800ce19 (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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 */ ); /** |