compositor: Add a clipboard manager
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 3 Jun 2012 14:20:13 +0000 (10:20 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 4 Jun 2012 02:54:36 +0000 (22:54 -0400)
commita7ceafff9c4fd82910aea2103d6428fb1268165d
tree5d818c1c29a7d077e0164a79dfaed1a95ce4f68f
parente220327223b8ee6dc29b4bc633fdd764a10587a1
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.
src/Makefile.am
src/clipboard.c [new file with mode: 0644]
src/compositor.c
src/compositor.h