mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
input: motion: improve comment
This commit is contained in:
parent
a3d5626256
commit
4156a64044
1 changed files with 1 additions and 2 deletions
3
input.c
3
input.c
|
|
@ -1253,8 +1253,7 @@ wl_pointer_motion(void *data, struct wl_pointer *wl_pointer,
|
|||
bool cursor_is_on_new_cell
|
||||
= old_col != seat->mouse.col || old_row != seat->mouse.row;
|
||||
|
||||
/* Cursor is inside the grid, or in the margins (or even
|
||||
* outside the terminal window) */
|
||||
/* Cursor is inside the grid, i.e. *not* in the margins */
|
||||
bool cursor_is_on_grid = seat->mouse.col >= 0 && seat->mouse.row >= 0;
|
||||
|
||||
/* Update selection */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue