title: keeping track of copy-paste in x11 using clipboard
body: <p>I'm a newbie to x11. As part of my final project, i have to keep track of all copy paste's in a single machine(from which window to which window) using clipboard in linux X window system. For that i think i need to work with open source x11. But i completely don't know where to start. Which module of x11 should i deal with, to handle the inter-client communication of the x window system. <a href="http://www.x.org/releases/X11R7.7/src/" rel="nofollow">http://www.x.org/releases/X11R7.7/src/</a></p>
  
  <p>If possible please provide me some good source for developers in inter-client communications of x11. I found so many docs in x.org, but nothing is clearly given regarding the implementation.</p>