summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-20 00:30:28 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-20 00:43:11 +0300
commitaeba855b07832354f59678e20cc29a085e42bd99 (patch)
treea2fefab9b508e639882a8cef040df707efca3c95 /include
parenta8d3dad9d9f2b9053843e655abe463a68ba8dcb7 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/input.h3
1 files changed, 3 insertions, 0 deletions
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);