aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:43:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:43:07 +0000
commit9f0b1f94c284e76ff1579e7f34f4a7418ef98b02 (patch)
treed9ac666de7624b6960bb590159a9d08c68fa2761 /search.c
parentwayland: 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c
index e9da3770..5c0ce1b7 100644
--- a/search.c
+++ b/search.c
@@ -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;
}