diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 16:54:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 16:54:25 +0000 |
| commit | a3db31d5cb62bb9afeb1c6cf3ee626abdf061009 (patch) | |
| tree | f23d5434f505b35b6a53e14673593ca95ea02349 /input.c | |
| parent | meson/pkgbuild: bump to 1.4.2 (diff) | |
| parent | doc: foot.5: modifiers+keys are plural (diff) | |
Merge branch 'master' into releases/1.4
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) |
