diff options
author | marc_culler <marc.culler@gmail.com> | 2020-05-14 23:07:49 (GMT) |
---|---|---|
committer | marc_culler <marc.culler@gmail.com> | 2020-05-14 23:07:49 (GMT) |
commit | 65a92e1ff12c799847d876490cb3a7501ce65ba6 (patch) | |
tree | f64dd0ad7d689af290b3d0bac6851988af09ca35 | |
parent | 628f50c27564e967f89b3d16524ed5ad4a8bc140 (diff) | |
download | tk-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.h | 2 |
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; |