Also, are there any examples out there in C land on how to read and write to the two clipboards?
Not really examples but Jamie Zawinski has a pretty nice writeup here: https://www.jwz.org/doc/x-cut-and-paste.html _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s