xwayland: only send one target at a time

This commit is contained in:
emersion 2018-04-03 00:41:26 -04:00
parent 103e59703f
commit 8f84c5b05f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 117 additions and 56 deletions

View file

@ -85,6 +85,7 @@ struct wlr_xwm_selection;
struct wlr_xwm_selection_transfer {
struct wlr_xwm_selection *selection;
bool incr;
bool flush_property_on_delete;
bool property_set;
@ -94,6 +95,7 @@ struct wlr_xwm_selection_transfer {
// when sending to x11
xcb_selection_request_event_t request;
struct wl_list outgoing_link;
// when receiving from x11
int property_start;
@ -108,6 +110,7 @@ struct wlr_xwm_selection {
xcb_timestamp_t timestamp;
struct wlr_xwm_selection_transfer incoming;
struct wl_list outgoing;
};
struct wlr_xwm {