mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-21 11:00:53 +01:00
add prototype for DarwinEventHandler
(cherry picked from commit 9a03ae33c4)
This commit is contained in:
parent
b35ecb21a1
commit
71b47657ef
2 changed files with 2 additions and 2 deletions
|
|
@ -204,8 +204,6 @@ void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev, int neven
|
|||
|
||||
Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr) {
|
||||
|
||||
void mieqSetHandler(int event, mieqHandler handler);
|
||||
|
||||
darwinEvents = (xEvent *)malloc(sizeof(xEvent) * GetMaximumEventsNum());
|
||||
mieqInit();
|
||||
mieqSetHandler(kXquartzActivate, DarwinEventHandler);
|
||||
|
|
|
|||
|
|
@ -41,4 +41,6 @@ void DarwinSendScrollEvents(float count, int pointer_x, int pointer_y,
|
|||
float pressure, float tilt_x, float tilt_y);
|
||||
void DarwinUpdateModKeys(int flags);
|
||||
|
||||
void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev,
|
||||
int nevents);
|
||||
#endif /* _DARWIN_EVENTS_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue