diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-09 13:09:02 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-09 13:09:02 +0000 |
| commit | 5b1f1602bccfb7c37e50a8509f44b24e9aa3b5d1 (patch) | |
| tree | d7d801fa0dee8d886b1d8302ea3b0436b86bf22e /input.c | |
| parent | config: use fallback when XDG_CONFIG_{HOME,DIRS} is set, but empty (diff) | |
refactor: add a ‘range’ struct, grouping a start and end coord together
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2121,8 +2121,9 @@ wl_pointer_motion(void *data, struct wl_pointer *wl_pointer, auto_scroll_direction, selection_col); } - if (term->selection.ongoing && (cursor_is_on_new_cell || - term->selection.end.row < 0)) + if (term->selection.ongoing && ( + cursor_is_on_new_cell || + term->selection.coords.end.row < 0)) { selection_update(term, selection_col, selection_row); } |
