summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)