From 3aefcd636d195490fc305a60adfc60dbbd501735 Mon Sep 17 00:00:00 2001 From: Aidan Epstein Date: Thu, 21 Jun 2018 12:54:14 -0500 Subject: [PATCH] Hack to work around FF issue. --- types/data_device/wlr_data_source.c | 1 + types/wlr_primary_selection.c | 1 + 2 files changed, 2 insertions(+) diff --git a/types/data_device/wlr_data_source.c b/types/data_device/wlr_data_source.c index bf638f5a..0c2029bb 100644 --- a/types/data_device/wlr_data_source.c +++ b/types/data_device/wlr_data_source.c @@ -43,6 +43,7 @@ struct wlr_data_offer *data_source_send_offer(struct wlr_data_source *source, struct wl_resource *target_resource; wl_resource_for_each(target_resource, &target->data_devices) { wl_data_device_send_data_offer(target_resource, offer->resource); + break; } char **p; diff --git a/types/wlr_primary_selection.c b/types/wlr_primary_selection.c index b8f3094b..899dce5e 100644 --- a/types/wlr_primary_selection.c +++ b/types/wlr_primary_selection.c @@ -116,6 +116,7 @@ static struct wlr_primary_selection_offer *source_send_offer( wl_resource_for_each(target_resource, &target->primary_selection_devices) { gtk_primary_selection_device_send_data_offer(target_resource, offer->resource); + break; } char **p; -- 2.17.1