diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2018-12-18 18:22:50 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2018-12-20 14:32:18 +0300 |
| commit | b1f5639d8cbc9b0a8525e1fcc76a4000f7852ded (patch) | |
| tree | 0f9bdbe27e1359f0655cf31ab01dc1695578f715 /src/array_view.hh | |
| parent | cb798fa369cbf58e8373c1c3afc10995835eb367 (diff) | |
src: Add support for right click events
The current implementation treats left mouse button clicks as a
generic "mouse press" modifier, this commit extends the list of
modifiers by adding a "right mouse click" one.
The proper way to implement this would be to ship the coordinates
of mouse key press events in each `Key` object, and pass whichever
button was clicked as a codepoint value (instead of coordinates
currently), but this would require more work.
This commit allows:
* right clicks to set the cursor of the main selection
* control-right clicks to merge all the selections, and then set
its cursor
Fixes #843
Diffstat (limited to 'src/array_view.hh')
0 files changed, 0 insertions, 0 deletions
