diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2012-03-17 00:04:27 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2012-03-24 01:07:05 -0700 |
commit | 5ff46d651ac0cd396be2053b79675997ed7af765 (patch) | |
tree | 4f76c29adfaa211db64b99b190ce4c640df83bcc /hw/xquartz/darwinEvents.h | |
parent | cd84c0949a9f397d8b803d3b87c9d02b260d4795 (diff) |
XQuartz: Use doubles for input valuators
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'hw/xquartz/darwinEvents.h')
-rw-r--r-- | hw/xquartz/darwinEvents.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hw/xquartz/darwinEvents.h b/hw/xquartz/darwinEvents.h index 515dd3049..b8660a64c 100644 --- a/hw/xquartz/darwinEvents.h +++ b/hw/xquartz/darwinEvents.h @@ -38,15 +38,15 @@ void DarwinEQPointerPost(DeviceIntPtr pDev, xEventPtr e); void DarwinEQSwitchScreen(ScreenPtr pScreen, Bool fromDIX); void DarwinInputReleaseButtonsAndKeys(DeviceIntPtr pDev); void DarwinSendPointerEvents(DeviceIntPtr pDev, int ev_type, int ev_button, - float pointer_x, float pointer_y, float pressure, - float tilt_x, float tilt_y); -void DarwinSendProximityEvents(DeviceIntPtr pDev, int ev_type, float pointer_x, - float pointer_y, float pressure, float tilt_x, - float tilt_y); + double pointer_x, double pointer_y, double pressure, + double tilt_x, double tilt_y); +void DarwinSendProximityEvents(DeviceIntPtr pDev, int ev_type, double pointer_x, + double pointer_y, double pressure, double tilt_x, + double tilt_y); void DarwinSendKeyboardEvents(int ev_type, int keycode); -void DarwinSendScrollEvents(float count_x, float count_y, float pointer_x, - float pointer_y, float pressure, float tilt_x, - float tilt_y); +void DarwinSendScrollEvents(double scroll_x, double scroll_y, double pointer_x, + double pointer_y, double pressure, double tilt_x, + double tilt_y); void DarwinUpdateModKeys(int flags); void DarwinListenOnOpenFD(int fd); |