selection: send primary/clipboard data asynchronously

TODO: try writing synchronously first
This commit is contained in:
Daniel Eklöf 2019-11-04 13:11:15 +01:00
parent a706c1e804
commit 60c3ff8737
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 83 additions and 36 deletions

View file

@ -273,6 +273,7 @@ fdm_blink(struct fdm *fdm, int fd, int events, void *data)
LOG_DBG("blink timer expired %llu times",
(unsigned long long)expiration_count);
/* Invert blink state */
term->blink.state = term->blink.state == BLINK_ON
? BLINK_OFF : BLINK_ON;