input: reset view when pasting from primary

We’re already doing this for keyboard input, and regular clipboard
pastes.
This commit is contained in:
Daniel Eklöf 2022-01-11 20:26:49 +01:00
parent e37edba387
commit 29c31054a1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 3 additions and 0 deletions

View file

@ -145,6 +145,7 @@ execute_binding(struct seat *seat, struct terminal *term,
case BIND_ACTION_PRIMARY_PASTE:
selection_from_primary(seat, term);
term_reset_view(term);
return true;
case BIND_ACTION_SEARCH_START: