summaryrefslogtreecommitdiff
path: root/include/X11/extensions/XInput2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-24 10:09:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-08 13:43:28 +1000
commitd6439bc4c5c26577d0c839555a85bd1a9db784f3 (patch)
treed3d2fd9b47038453b7e8ab4abba71ee0cc1dad73 /include/X11/extensions/XInput2.h
parent225071e2e67fb65a0258397212f9826c9b25e078 (diff)
Change floats to doubles in DeviceEvents and EnterEvents.
All the other bits use doubles, there's no reason to use floats here.
Diffstat (limited to 'include/X11/extensions/XInput2.h')
-rw-r--r--include/X11/extensions/XInput2.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 8e3a68d..373274a 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -223,10 +223,10 @@ typedef struct {
Window child;
int deviceid;
int sourceid;
- float root_x;
- float root_y;
- float event_x;
- float event_y;
+ double root_x;
+ double root_y;
+ double event_x;
+ double event_y;
XIButtonState *buttons;
XIValuatorState *valuators;
XIModifierState *mods;
@@ -263,10 +263,10 @@ typedef struct {
Window child;
int deviceid;
int sourceid;
- float root_x;
- float root_y;
- float event_x;
- float event_y;
+ double root_x;
+ double root_y;
+ double event_x;
+ double event_y;
int mode;
Bool focus;
Bool same_screen;