From ebe45e1a72a81ad22413e5d0514869b3e45a69b7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 20 May 2009 10:55:03 +1000 Subject: 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 --- mi/mi.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mi/mi.h') 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 */ ); /** -- cgit v1.2.3