mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
seat: use separate 'enter' serials for keyboard and mouse
This commit is contained in:
parent
4e48d550ef
commit
71584aed38
5 changed files with 14 additions and 12 deletions
|
|
@ -1087,7 +1087,7 @@ begin_receive_clipboard(struct terminal *term, int read_fd,
|
|||
}
|
||||
|
||||
void
|
||||
text_from_clipboard(struct seat *seat, struct terminal *term, uint32_t serial,
|
||||
text_from_clipboard(struct seat *seat, struct terminal *term,
|
||||
void (*cb)(const char *data, size_t size, void *user),
|
||||
void (*done)(void *user), void *user)
|
||||
{
|
||||
|
|
@ -1142,7 +1142,7 @@ selection_from_clipboard(struct seat *seat, struct terminal *term, uint32_t seri
|
|||
term_to_slave(term, "\033[200~", 6);
|
||||
|
||||
text_from_clipboard(
|
||||
seat, term, serial, &from_clipboard_cb, &from_clipboard_done, term);
|
||||
seat, term, &from_clipboard_cb, &from_clipboard_done, term);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue