diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 14:44:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 14:44:41 +0000 |
| commit | 7127a0a6c393ee888a7b640c5481e191e0744519 (patch) | |
| tree | 4e2b5a12d4fcfca02f6b5b6de4d8bfe39d0372b5 /input.c | |
| parent | tokenize: handle escaped quotes (diff) | |
selection: extending a selection is now interactive
That is, a selection extension can be resized just like an ordinary
extension.
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1171,7 +1171,7 @@ wl_pointer_motion(void *data, struct wl_pointer *wl_pointer, if (col < 0 || row < 0 || col >= term->cols || row >= term->rows) return; - bool update_selection = seat->mouse.button == BTN_LEFT; + bool update_selection = seat->mouse.button == BTN_LEFT || seat->mouse.button == BTN_RIGHT; bool update_selection_early = term->selection.end.row == -1; if (update_selection && update_selection_early) |
