aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
authorPo Lu2022-07-09 04:50:06 +0000
committerPo Lu2022-07-09 04:50:35 +0000
commitedabfe4ff66090b3b2c433962df4cfe1a68259fd (patch)
tree89d27a45082768a61bdcbcb49bfb25a7f4637b98 /src/xselect.c
parentf400c60237f04781b60423492c583beea6c77e8e (diff)
downloademacs-edabfe4ff66090b3b2c433962df4cfe1a68259fd.tar.gz
emacs-edabfe4ff66090b3b2c433962df4cfe1a68259fd.zip
Fix race conditions handling selection clear events on Haiku
* src/haiku_select.cc (be_handle_clipboard_changed_message): Include current clipboard count. (be_selection_outdated_p): New function. * src/haikuselect.c (haiku_handle_selection_clear): Ignore outdated events. (haiku_selection_disowned): New argument `count'. Include it in the timestamp field of the selection clear event. * src/haikuselect.h: Update prototypes. * src/systime.h: Define `Time' to an appropriate value on Haiku.
Diffstat (limited to 'src/xselect.c')
0 files changed, 0 insertions, 0 deletions