mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
mi: update master event copying to InternalEvents.
This is long overdue. The device events are InternalEvents now (and only one at a time), diminishing the need for an EventList for the master event. Furthermore, don't make masterEvent a static since this will interfere if mieqProcessDeviceEvent is called from somewhere else (e.g. XKB actions). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f85619b14d
commit
3d3b8babd1
2 changed files with 10 additions and 29 deletions
2
mi/mi.h
2
mi/mi.h
|
|
@ -224,7 +224,7 @@ extern _X_EXPORT void mieqProcessInputEvents(
|
|||
extern DeviceIntPtr CopyGetMasterEvent(
|
||||
DeviceIntPtr /* sdev */,
|
||||
InternalEvent* /* original */,
|
||||
EventListPtr /* mlist */
|
||||
InternalEvent* /* copy */
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue