summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-18 15:14:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-18 16:55:12 +1000
commitdb94dc37529fc3e5e3decad67d312ea108e860d2 (patch)
tree42cffbfc71b7421a198ee14c729583cb67e2d76c
parent615545f9cba36ab7732d2325970a7c84b2fa6e8c (diff)
XIQueryPointer should return doubles for the FP1616 wire data.
-rw-r--r--include/X11/extensions/XInput2.h8
-rw-r--r--man/XIQueryPointer.txt8
-rw-r--r--src/XQueryDvPtr.c8
3 files changed, 12 insertions, 12 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 205ea5f..5ef0892 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -291,10 +291,10 @@ extern Bool XIQueryPointer(
Window win,
Window* root,
Window* child,
- int* root_x,
- int* root_y,
- int* win_x,
- int* win_y,
+ double* root_x,
+ double* root_y,
+ double* win_x,
+ double* win_y,
XIButtonState *buttons,
XIModifierState *mods,
XIGroupState *group
diff --git a/man/XIQueryPointer.txt b/man/XIQueryPointer.txt
index ad7f132..127f092 100644
--- a/man/XIQueryPointer.txt
+++ b/man/XIQueryPointer.txt
@@ -16,10 +16,10 @@ SYNOPSIS
Window win,
Window *root_return,
Window *child_return,
- int *root_x_return,
- int *root_y_return,
- int *win_x_return,
- int *win_y_return,
+ double *root_x_return,
+ double *root_y_return,
+ double *win_x_return,
+ double *win_y_return,
XIModifierState *modifiers_return,
XIGroupState *group_return,
XIButtonState *buttons_return);
diff --git a/src/XQueryDvPtr.c b/src/XQueryDvPtr.c
index c0f9b2f..e89cdd7 100644
--- a/src/XQueryDvPtr.c
+++ b/src/XQueryDvPtr.c
@@ -46,10 +46,10 @@ XIQueryPointer(Display *dpy,
Window w,
Window *root,
Window *child,
- int *root_x,
- int *root_y,
- int *win_x,
- int *win_y,
+ double *root_x,
+ double *root_y,
+ double *win_x,
+ double *win_y,
XIButtonState *buttons,
XIModifierState *mods,
XIGroupState *group)