mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 18:08:08 +02:00
add prototype for DarwinEventHandler
This commit is contained in:
parent
5848510cc5
commit
9a03ae33c4
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