From fee91be58668595cd908c77739282d8731053b4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 2 Jun 2012 21:21:41 -0400 Subject: [PATCH] terminal: Use serial, not timestamp for setting the selection --- clients/terminal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/terminal.c b/clients/terminal.c index 319f9c8..4308875 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -2064,7 +2064,8 @@ handle_bound_key(struct terminal *terminal, "text/plain;charset=utf-8"); wl_data_source_add_listener(terminal->selection, &data_source_listener, terminal); - input_set_selection(input, terminal->selection, time); + input_set_selection(input, terminal->selection, + display_get_serial(terminal->display)); return 1; case XKB_KEY_V: input_receive_selection_data_to_fd(input, -- 2.7.4