compositor: Split dnd setup up into weston_seat_start_drag()
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Sep 2013 03:44:26 +0000 (20:44 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Sep 2013 03:46:56 +0000 (20:46 -0700)
commit85de9c25fe16d8bab928295fd68851738ef23b24
treeea5a902df448c336b739eed130cceaa363da7448
parent0749e3f470a9d1cb7ec78c199962b84dce72e1f9
compositor: Split dnd setup up into weston_seat_start_drag()

This makes the drag-and-drop code available to in-weston data sources,
similar to how we can set a selection data source internally.  The
wl_data_device.start_drag entry point now calls this function after
validating protocol arguments.
src/compositor.h
src/data-device.c