mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-09 05:33:58 -04:00
Merge branch 'master' into scrollback-position-indicator
This commit is contained in:
commit
5c20069588
5 changed files with 32 additions and 13 deletions
2
input.c
2
input.c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue