add prototype for DarwinEventHandler
(cherry picked from commit 9a03ae33c4
)
This commit is contained in:
parent
3713be8b47
commit
5b6c273eaa
|
@ -204,8 +204,6 @@ void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev, int neven
|
||||||
|
|
||||||
Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr) {
|
Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr) {
|
||||||
|
|
||||||
void mieqSetHandler(int event, mieqHandler handler);
|
|
||||||
|
|
||||||
darwinEvents = (xEvent *)malloc(sizeof(xEvent) * GetMaximumEventsNum());
|
darwinEvents = (xEvent *)malloc(sizeof(xEvent) * GetMaximumEventsNum());
|
||||||
mieqInit();
|
mieqInit();
|
||||||
mieqSetHandler(kXquartzActivate, DarwinEventHandler);
|
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);
|
float pressure, float tilt_x, float tilt_y);
|
||||||
void DarwinUpdateModKeys(int flags);
|
void DarwinUpdateModKeys(int flags);
|
||||||
|
|
||||||
|
void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev,
|
||||||
|
int nevents);
|
||||||
#endif /* _DARWIN_EVENTS_H */
|
#endif /* _DARWIN_EVENTS_H */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user