discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=54a062b7bf34272d87270b403c97105ff0a60ef9

commit 54a062b7bf34272d87270b403c97105ff0a60ef9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri May 12 12:09:18 2017 -0400

    don't dup fds during xwl bridged selection transfer, this happens in 
libwayland
---
 src/modules/xwayland/dnd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c
index 47c5d9569..505440352 100644
--- a/src/modules/xwayland/dnd.c
+++ b/src/modules/xwayland/dnd.c
@@ -399,7 +399,7 @@ _xwl_selection_request(void *d EINA_UNUSED, int t 
EINA_UNUSED, Ecore_X_Event_Sel
                p->fdh = ecore_main_fd_handler_add(fds[0], ECORE_FD_READ, 
_xwl_pipe_read, p, NULL, NULL);
                p->win = ev->requestor;
                p->source = source;
-               wl_data_source_send_send(source->resource, type, dup(fds[1]));
+               wl_data_source_send_send(source->resource, type, fds[1]);
                close(fds[1]);
                p->atom = ev->target;
                p->selection = ev->selection;

-- 


Reply via email to