diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 10:31:13 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-29 04:57:22 +0000 |
| commit | d675cf872022e0e1bf2100211d7607773de1016c (patch) | |
| tree | 4d9e2692d0c66ad4cb04721b21d106f6ebf719ab /render.h | |
| parent | changelog: add 1.4.4 section (diff) | |
input: margins are not selectable
* Fix col/row calculation in pointer-enter event; we did not take the
margins into account.
* seat->mouse.col,row are now set to -1 if the cursor is inside the
margins. That is, col/row are only ever valid when the mouse is
actually over the grid, and not in the margins.
* Use regular 'left-ptr' mouse cursor when mouse is inside the
margins, to not make the user think he/she can start a selection.
Besides making things clearer, this also fixes a crash that occurred
if you started a selection in e.g. the right margin.
Diffstat (limited to 'render.h')
0 files changed, 0 insertions, 0 deletions
