data-device: Don't implement data source through data offer object
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 3 Jun 2012 21:30:12 +0000 (17:30 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 3 Jun 2012 21:30:12 +0000 (17:30 -0400)
commit68f058ffd3aa485e01354b8cf6ad040169e939fb
tree9dc567a7ca7c4166013c286176fa77a59ca5e1df
parentdff84e563896566e952f8a6704eadb8c09f27830
data-device: Don't implement data source through data offer object

The wl_data_source object used to specify the implementation for data
offers created for it.  This means you need a data offer to retrieve the
data from the source, which makes it awkward to use in-process in a
compositor.  Now we instead have three virtual functions that can be
connected to a protocol object or in-process data-sources such as an
X server proxy or clipboard.
src/data-device.c
src/wayland-server.h