summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-05-14 23:07:49 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-05-14 23:07:49 (GMT)
commit65a92e1ff12c799847d876490cb3a7501ce65ba6 (patch)
treef64dd0ad7d689af290b3d0bac6851988af09ca35
parent628f50c27564e967f89b3d16524ed5ad4a8bc140 (diff)
downloadtk-65a92e1ff12c799847d876490cb3a7501ce65ba6.zip
tk-65a92e1ff12c799847d876490cb3a7501ce65ba6.tar.gz
tk-65a92e1ff12c799847d876490cb3a7501ce65ba6.tar.bz2
Switch state and delta in TkWheelEvent so they match the layout in XKeyEvent.
-rw-r--r--generic/tkInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 64e7947..023cac4 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -882,8 +882,8 @@ typedef struct {
Time time; /* milliseconds */
int x, y; /* pointer x, y coordinates in event window */
int x_root, y_root; /* coordinates relative to root */
+ unsigned int state; /* key or button mask */
int delta; /* delta */
- unsigned int state; /* detail */
Bool same_screen; /* same screen flag */
} TkWheelEvent;