From 640a97d321cdc5fd2f34265cba86da40463f8e48 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 18 Dec 2007 15:47:01 +1030 Subject: [PATCH] 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. --- XInput.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */