diff options
author | Jeremy Huddleston <jeremy@yuffie.local> | 2008-01-05 03:14:07 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremy@yuffie.local> | 2008-01-05 03:17:27 -0800 |
commit | 7d226d6a251cb90765be2b50a1973986c5b7605b (patch) | |
tree | 13e5eb5ab41ea32dea1a9cc089d20d9eae08690b /hw/xquartz/darwinEvents.h | |
parent | 11967dce11cd953d123d53bb3389aa257c5158e8 (diff) |
XQuartz: Cleanup for strict-prototyping
Also fixed DarwinEQEnqueue to match changes to the callback
And also use dpmsstubs.c rather than copying the code into darwin.c
(cherry picked from commit 4c5c30a4beb7a427b00b18097f548876ad3c11d7)
Diffstat (limited to 'hw/xquartz/darwinEvents.h')
-rw-r--r-- | hw/xquartz/darwinEvents.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/xquartz/darwinEvents.h b/hw/xquartz/darwinEvents.h index d6cab2e6c..82cc26bc0 100644 --- a/hw/xquartz/darwinEvents.h +++ b/hw/xquartz/darwinEvents.h @@ -28,12 +28,13 @@ #define _DARWIN_EVENTS_H Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr); -void DarwinEQEnqueue(const xEvent *e); -void DarwinEQPointerPost(xEvent *e); +void DarwinEQEnqueue(const xEventPtr e); +void DarwinEQPointerPost(DeviceIntPtr pDev, xEventPtr e); void DarwinEQSwitchScreen(ScreenPtr pScreen, Bool fromDIX); void DarwinPokeEQ(void); void DarwinSendPointerEvents(int ev_type, int ev_button, int pointer_x, int pointer_y); void DarwinSendKeyboardEvents(int ev_type, int keycode); void DarwinSendScrollEvents(float count, int pointer_x, int pointer_y); +void DarwinUpdateModKeys(int flags); #endif /* _DARWIN_EVENTS_H */ |