add prototype for DarwinEventHandler
This commit is contained in:
parent
5848510cc5
commit
9a03ae33c4
@ -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…
Reference in New Issue
Block a user