From aeba855b07832354f59678e20cc29a085e42bd99 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 20 Oct 2006 00:30:28 +0300 Subject: move keymap copy to event processing, from enqueuing Move the keymap copying to event processing time (in ProcessInputEvents), instead of being at event enqueuing time. Break SetCore{Pointer,Keyboard} out into separate functions. Change mieqEnqueue to take a device pointer, that asks for the _original_ device associated with this event. --- include/input.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/input.h b/include/input.h index 3e3d16d2b..a9eeb3f62 100644 --- a/include/input.h +++ b/include/input.h @@ -406,6 +406,9 @@ extern int GetKeyboardValuatorEvents( int num_valuator, int *valuators); +extern void SwitchCoreKeyboard(DeviceIntPtr pDev); +extern void SwitchCorePointer(DeviceIntPtr pDev); + extern DeviceIntPtr LookupDeviceIntRec( CARD8 deviceid); -- cgit v1.2.3