diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-09 09:20:46 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-09 09:20:46 +0000 |
| commit | 71584aed388935908588686e5df7ec42855f3698 (patch) | |
| tree | 45f18ee6e99049470da32290ebf18d745d7619ce /selection.c | |
| parent | multi-seat: improve handling of multiple (mouse) pointers (diff) | |
seat: use separate 'enter' serials for keyboard and mouse
Diffstat (limited to 'selection.c')
| -rw-r--r-- | selection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selection.c b/selection.c index f097e37b..62f131b1 100644 --- a/selection.c +++ b/selection.c @@ -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 |
