diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-09-06 16:12:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-09-12 08:32:22 +0000 |
| commit | e553e1076c78fe99a7ea1faa5f2fd28a4f529d10 (patch) | |
| tree | 28f42b434da450190b69b31ff5b890033558cb4b /debug.h | |
| parent | Merge branch 'default-section-is-main' (diff) | |
input: workaround GNOME issue with pointer button events
Under certain circumstances, GNOME will send multiple pointer button
press events, without any release or leave events in between.
This trips up our button tracking.
Workaround, by replacing the existing state for the pressed button
with the new state.
Previously, debug builds would assert (and thus crash), while release
builds would have multiple states for the same button,
causing (probably) issues like the title bar not being usable (as in,
cannot be dragged, buttons not working etc).
Hopefully closes #709
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions
