Commit 83d29c1
committed
Wayland: Issue with mouse wheel coordinates
Apply the fix suggested by @shurizzle in #669, requiring SDL 2.26+.
This does not apply on macOS because the wheel events are dispatched
by custom event handling code (due to trackpad swipe handling) and
therefore don't have the mouse coordinates included.
IssueID #612
IssueID #6691 parent a6641c8 commit 83d29c1
3 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
1153 | 1154 | | |
1154 | 1155 | | |
1155 | 1156 | | |
1156 | | - | |
1157 | | - | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1158 | 1160 | | |
| 1161 | + | |
1159 | 1162 | | |
1160 | 1163 | | |
1161 | 1164 | | |
| |||
3011 | 3014 | | |
3012 | 3015 | | |
3013 | 3016 | | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
3014 | 3021 | | |
3015 | 3022 | | |
3016 | 3023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments