mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-22 01:20:26 +00:00
started moving new input code into darwinEvents.c so that it may be shared by the three servers
This commit is contained in:
parent
8ba5e8d820
commit
537dc5ecde
2 changed files with 11 additions and 10 deletions
|
|
@ -74,6 +74,7 @@ typedef struct _EventQueue {
|
|||
} EventQueueRec, *EventQueuePtr;
|
||||
|
||||
static EventQueueRec darwinEventQueue;
|
||||
xEvent *darwinEvents;
|
||||
|
||||
/*
|
||||
* DarwinPressModifierMask
|
||||
|
|
@ -179,6 +180,7 @@ static void DarwinSimulateMouseClick(
|
|||
|
||||
|
||||
Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr) {
|
||||
darwinEvents = (xEvent *)malloc(sizeof(xEvent) * GetMaximumEventsNum());
|
||||
mieqInit();
|
||||
darwinEventQueue.head = darwinEventQueue.tail = 0;
|
||||
darwinEventQueue.lastEventTime = GetTimeInMillis ();
|
||||
|
|
|
|||
Loading…
Reference in a new issue