mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-16 19:58:08 +02:00
terminal: Use serial, not timestamp for setting the selection
This commit is contained in:
parent
b7452fe313
commit
fee91be586
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue