summaryrefslogtreecommitdiff
path: root/XInput.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-12-18 15:47:01 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-12-18 15:47:01 +1030
commit640a97d321cdc5fd2f34265cba86da40463f8e48 (patch)
tree080ef3b510adb3980bc7ba0f17606acfab3e3785 /XInput.h
parent92f083437f3129bb67cd4599ad776b8b691f0b56 (diff)
Move deviceid in XDeviceCrossingEvent up to follow window.
This makes XDeviceCrossingEvents in line with the other events who have the same initial ordering of things.
Diffstat (limited to 'XInput.h')
-rw-r--r--XInput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XInput.h b/XInput.h
index ac58175..b88efc5 100644
--- a/XInput.h
+++ b/XInput.h
@@ -477,9 +477,9 @@ typedef struct {
Bool send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Window window; /* "event" window reported relative to */
+ XID deviceid;
Window root; /* root window that the event occurred on */
Window subwindow; /* child window */
- XID deviceid;
Time time; /* milliseconds */
int x, y; /* pointer x, y coordinates in event window */
int x_root, y_root; /* coordinates relative to root */