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.
diff --git a/src/compositor.h b/src/compositor.h
index d070471..836f10a 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -677,6 +677,9 @@
void
screenshooter_create(struct weston_compositor *ec);
+struct clipboard *
+clipboard_create(struct weston_seat *seat);
+
void
text_cursor_position_notifier_create(struct weston_compositor *ec);