diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 17:43:07 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 17:43:07 +0000 |
| commit | 9f0b1f94c284e76ff1579e7f34f4a7418ef98b02 (patch) | |
| tree | d9ac666de7624b6960bb590159a9d08c68fa2761 /search.c | |
| parent | wayland: add back-pointer to terminal (diff) | |
wayland: change all wayland callbacks to take a wayland pointer
Instead of passing the terminal to the wayland callbacks, pass a
'struct wayland' pointer.
Diffstat (limited to 'search.c')
| -rw-r--r-- | search.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -317,7 +317,7 @@ search_input(struct terminal *term, uint32_t key, xkb_keysym_t sym, xkb_mod_mask /* "Commit" search - copy selection to primary and cancel search */ else if (mods == 0 && sym == XKB_KEY_Return) { - selection_finalize(term, term->input_serial); + selection_finalize(term, term->wl.input_serial); search_cancel_keep_selection(term); return; } |
