diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-11 08:15:01 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-14 05:38:55 +0000 |
| commit | 9517c6443c0a0a9c8abf350e388c0be505c03de7 (patch) | |
| tree | d192239a6ea85e152ae6eb33d9ff9b4fa0e8cf05 /input.c | |
| parent | selection: update: don't update if there's no ongoing selection (diff) | |
selection: finalize: clear ongoing selection
Check for ongoing selection, and *clear* it before bailing out due to
the selection not having an end-point.
This fixes an issue where a selection was kept as ongoing, even though
the button had been released. Typically triggered by clicking without
moving the mouse; this started a new selection, then (tried to)
finalize it, but failed since the selection didn't have an end-point.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
