aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-08 08:08:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-08 08:08:47 +0000
commit4156a640446ebb0ea2ee00b950cc0fe42ccb9abd (patch)
treeaab7d3546a42f3bb9219dc906577d5027a7087d3 /input.c
parentinput: pointer-enter: add comment describing what we're doing (diff)
input: motion: improve comment
Diffstat (limited to 'input.c')
-rw-r--r--input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/input.c b/input.c
index eb4e394b..345fe417 100644
--- a/input.c
+++ b/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 */