wayland: Move DataOffer / DataSource into data-device internals

This commit is contained in:
Jasper St. Pierre
2014-07-10 10:15:34 -04:00
parent 06a31992e3
commit 664f6ef420
3 changed files with 13 additions and 14 deletions

View File

@ -35,6 +35,19 @@
#include "meta-wayland-pointer.h"
#include "meta-wayland-private.h"
typedef struct
{
struct wl_resource *resource;
MetaWaylandDataSource *source;
struct wl_listener source_destroy_listener;
} MetaWaylandDataOffer;
struct _MetaWaylandDataSource
{
struct wl_resource *resource;
struct wl_array mime_types;
};
static void
data_offer_accept (struct wl_client *client,
struct wl_resource *resource,