Implement most ICCCM rules for selection handling.
authorMarkus Wichmann <nullplan@gmx.net>
Sat, 11 Apr 2015 19:21:34 +0000 (21:21 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 13 Apr 2015 20:18:45 +0000 (22:18 +0200)
commit42fa1f5ce46593a9d6c2f9196c1aae1a60ca07d1
treee8a24252d06e235076593d3abe4b2398364e7ea5
parent23ed12857f113603b689521d3f6e40ff954d25bb
Implement most ICCCM rules for selection handling.

ICCCM mandates the use of real timestamps to interact with the
selection, to rule out race conditions if the clients are run at
different speeds. I have implemented the low hanging fruit, putting the
timestamps into text selection. Also, ICCCM mandates a check for whether
XSetSelectionOwner() worked. Not sure my version is correct, though.
st.c