From 9f0b1f94c284e76ff1579e7f34f4a7418ef98b02 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 27 Oct 2019 18:43:07 +0100 Subject: wayland: change all wayland callbacks to take a wayland pointer Instead of passing the terminal to the wayland callbacks, pass a 'struct wayland' pointer. --- search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'search.c') 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; } -- cgit v1.3