commit | a7ceafff9c4fd82910aea2103d6428fb1268165d | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Sun Jun 03 10:20:13 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Sun Jun 03 22:54:36 2012 -0400 |
tree | 5d818c1c29a7d077e0164a79dfaed1a95ce4f68f | |
parent | e220327223b8ee6dc29b4bc633fdd764a10587a1 [diff] |
compositor: Add a clipboard manager We use the selection signal to get a callback when somebody sets a selection (including the X server proxy) and then copy the contents of the first mime type. If the selection is cleared (when the client dies), we set a new selection with that contents.