From 8ea4b9b4e96b929c3315b986d6f7de7c38bef35f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 11 Aug 2015 15:27:16 -0400 Subject: [PATCH] don't create pipe for x11->wl clipboard selections this is never used --- src/modules/xwayland/dnd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c index 0a208f2..074bf8b 100644 --- a/src/modules/xwayland/dnd.c +++ b/src/modules/xwayland/dnd.c @@ -259,11 +259,9 @@ _xwl_selection_notify(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_X_Event_Sele Ecore_X_Selection_Data_Targets *tgs = ev->data; E_Comp_Wl_Clipboard_Source *source; E_Comp_Wl_Data_Source *dsource; - int i, p[2]; + int i; - if (pipe2(p, O_CLOEXEC) == -1) - return ECORE_CALLBACK_RENEW; - source = e_comp_wl_clipboard_source_create(NULL, 0, p[0]); + source = e_comp_wl_clipboard_source_create(NULL, 0, -1); dsource = e_comp_wl_data_manager_source_create(e_comp->wl_comp_data->xwl_client, e_comp->wl_comp_data->mgr.resource, 1); for (i = 0; i < tgs->num_targets; i++) -- 2.7.4