diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-01-11 19:26:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-01-11 19:26:49 +0000 |
| commit | 29c31054a1a4dc2b51a486829830b47ef5e8d772 (patch) | |
| tree | 1f87abb828d3dc04962c6dbde09b4fc5c26dd8ac | |
| parent | Merge branch 'wl-output-version-4' (diff) | |
input: reset view when pasting from primary
We’re already doing this for keyboard input, and regular clipboard
pastes.
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | input.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9caf6c82..ee5b8da1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,8 @@ * Rendering of CSD borders when `csd.border-width > 0` and desktop scaling has been enabled. * Failure to launch when `exec(3)’:ed with an empty argv. +* Pasting from the primary clipboard (mouse middle clicking) did not + reset the scrollback view to the bottom. ### Security @@ -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: |
