diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 14:51:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 14:51:39 +0000 |
| commit | 5c20069588b69298573f4f94fcf6da85411dba94 (patch) | |
| tree | 8788fb7e264db27de7f75caac475ab960e2f009c /input.c | |
| parent | render: scrollback indicator: render relative indicator "smoothly" (diff) | |
| parent | doc: foot.5: modifiers+keys are plural (diff) | |
Merge branch 'master' into scrollback-position-indicator
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1187,7 +1187,7 @@ wl_pointer_motion(void *data, struct wl_pointer *wl_pointer, if (seat->mouse.col < 0 || seat->mouse.row < 0) break; - 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) |
