unsigned int win, source;
Ecore_Wl2_Offer *offer;
int x, y;
+ unsigned int seat;
} Ecore_Wl2_Event_Dnd_Enter;
typedef struct _Ecore_Wl2_Event_Dnd_Leave
{
unsigned int win, source;
Ecore_Wl2_Offer *offer;
+ unsigned int seat;
} Ecore_Wl2_Event_Dnd_Leave;
typedef struct _Ecore_Wl2_Event_Dnd_Motion
unsigned int win, source;
Ecore_Wl2_Offer *offer;
int x, y;
+ unsigned int seat;
} Ecore_Wl2_Event_Dnd_Motion;
typedef struct _Ecore_Wl2_Event_Dnd_Drop
unsigned int win, source;
int x, y;
Ecore_Wl2_Offer *offer;
+ unsigned int seat;
} Ecore_Wl2_Event_Dnd_Drop;
typedef struct _Ecore_Wl2_Event_Dnd_End
{
unsigned int win, source;
+ unsigned int seat;
} Ecore_Wl2_Event_Dnd_End;
struct _Ecore_Wl2_Event_Data_Source_Event
{
unsigned int win, source;
Ecore_Wl2_Drag_Action action;
+ unsigned int seat;
uint32_t serial;
};
typedef struct _Ecore_Wl2_Event_Data_Source_Target
{
char *type;
+ unsigned int seat;
} Ecore_Wl2_Event_Data_Source_Target;
typedef struct _Ecore_Wl2_Event_Data_Source_Send
{
char *type;
int fd;
+ unsigned int seat;
uint32_t serial;
} Ecore_Wl2_Event_Data_Source_Send;
char *data;
int len;
const char *mimetype;
+ unsigned int seat;
} Ecore_Wl2_Event_Offer_Data_Ready;
typedef enum _Ecore_Wl2_Window_Type
ev = calloc(1, sizeof(Ecore_Wl2_Event_Data_Source_Target));
if (!ev) return;
+ ev->seat = input->id;
if (mime_type) ev->type = strdup(mime_type);
ev->fd = fd;
ev->type = strdup(mime_type);
+ ev->seat = input->id;
if (source == input->data.selection.source)
ev->serial = input->data.selection.serial;
else
ev->win = _win_id_get(input);
ev->action = input->data.drag.action;
+ ev->seat = input->id;
+ ev->serial = input->data.drag.serial;
}
static void
ev->x = x;
ev->y = y;
ev->offer = input->drag;
+ ev->seat = input->id;
ecore_event_add(ECORE_WL2_EVENT_DND_ENTER, ev, _unset_serial, input->drag);
}
ev->win = input->drag->window_id;
ev->offer = input->drag;
ev->offer->ref++;
+ ev->seat = input->id;
input->drag->window_id = 0;
ecore_event_add(ECORE_WL2_EVENT_DND_LEAVE, ev, _delay_offer_destroy, ev->offer);
ev->x = x;
ev->y = y;
ev->offer = input->drag;
+ ev->seat = input->id;
ecore_event_add(ECORE_WL2_EVENT_DND_MOTION, ev, _unset_serial, input->drag);
}
ev->x = input->pointer.sx;
ev->y = input->pointer.sy;
ev->offer = input->drag;
+ ev->seat = input->id;
ecore_event_add(ECORE_WL2_EVENT_DND_DROP, ev, NULL, NULL);
}
ev->data = buf->data;
ev->len = buf->len;
ev->mimetype = buf->mimetype;
+ ev->seat = buf->offer->input->id;
ecore_event_add(ECORE_WL2_EVENT_OFFER_DATA_READY, ev, _free_buf, buf);
buf->offer->reads = eina_list_remove(buf->offer->reads, fdh);