diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-08 08:08:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-08 08:08:47 +0000 |
| commit | 4156a640446ebb0ea2ee00b950cc0fe42ccb9abd (patch) | |
| tree | aab7d3546a42f3bb9219dc906577d5027a7087d3 /input.c | |
| parent | input: pointer-enter: add comment describing what we're doing (diff) | |
input: motion: improve comment
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |
