diff options
| author | Alan Mackenzie | 2022-01-22 11:02:50 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2022-01-22 11:02:50 +0000 |
| commit | 14d64a8adcc866deecd758b898e8ef2d836b354a (patch) | |
| tree | 83cff9669e266f8e283ccb8cd7518e909240f1e1 /src/haiku_support.h | |
| parent | bdd9b5b8a0d37dd09ee530c1dab3a44bee09e0f8 (diff) | |
| parent | ebe334cdc234de2897263aed4c05ac7088c11857 (diff) | |
| download | emacs-scratch/correct-warning-pos.tar.gz emacs-scratch/correct-warning-pos.zip | |
Merge branch 'master' into scratch/correct-warning-posscratch/correct-warning-pos
Diffstat (limited to 'src/haiku_support.h')
| -rw-r--r-- | src/haiku_support.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/haiku_support.h b/src/haiku_support.h index 83f22972ce2..6ddc28759b5 100644 --- a/src/haiku_support.h +++ b/src/haiku_support.h | |||
| @@ -34,6 +34,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 34 | 34 | ||
| 35 | #include <math.h> | 35 | #include <math.h> |
| 36 | 36 | ||
| 37 | #include <kernel/OS.h> | ||
| 38 | |||
| 37 | enum haiku_cursor | 39 | enum haiku_cursor |
| 38 | { | 40 | { |
| 39 | CURSOR_ID_NO_CURSOR = 12, | 41 | CURSOR_ID_NO_CURSOR = 12, |
| @@ -132,6 +134,9 @@ struct haiku_key_event | |||
| 132 | int modifiers; | 134 | int modifiers; |
| 133 | unsigned keysym; | 135 | unsigned keysym; |
| 134 | uint32_t multibyte_char; | 136 | uint32_t multibyte_char; |
| 137 | |||
| 138 | /* Time the keypress occurred, in microseconds. */ | ||
| 139 | bigtime_t time; | ||
| 135 | }; | 140 | }; |
| 136 | 141 | ||
| 137 | struct haiku_activation_event | 142 | struct haiku_activation_event |
| @@ -146,7 +151,7 @@ struct haiku_mouse_motion_event | |||
| 146 | bool just_exited_p; | 151 | bool just_exited_p; |
| 147 | int x; | 152 | int x; |
| 148 | int y; | 153 | int y; |
| 149 | uint32_t be_code; | 154 | bigtime_t time; |
| 150 | }; | 155 | }; |
| 151 | 156 | ||
| 152 | struct haiku_button_event | 157 | struct haiku_button_event |
| @@ -156,6 +161,7 @@ struct haiku_button_event | |||
| 156 | int modifiers; | 161 | int modifiers; |
| 157 | int x; | 162 | int x; |
| 158 | int y; | 163 | int y; |
| 164 | bigtime_t time; | ||
| 159 | }; | 165 | }; |
| 160 | 166 | ||
| 161 | struct haiku_iconification_event | 167 | struct haiku_iconification_event |