discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=311f52409493733b4e9cb8893558597acfe87870
commit 311f52409493733b4e9cb8893558597acfe87870 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Fri Jul 10 16:03:45 2015 -0400 only register dnd xwindow with compositor canvas in x11 compositor mode registering it under wayland creates spurious mouse events --- src/bin/e_dnd.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index fe4a993..78574af 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -280,8 +280,9 @@ e_drag_start(E_Drag *drag, int x, int y) _drag_win = ecore_x_window_input_new(e_comp->win, 0, 0, e_comp->w, e_comp->h); - ecore_event_window_register(_drag_win, e_comp->ee, e_comp->evas, - NULL, NULL, NULL, NULL); + if (e_comp->comp_type == E_PIXMAP_TYPE_X) + ecore_event_window_register(_drag_win, e_comp->ee, e_comp->evas, + NULL, NULL, NULL, NULL); ecore_x_window_show(_drag_win); } #endif @@ -1166,7 +1167,8 @@ _e_drag_free(E_Drag *drag) #ifndef HAVE_WAYLAND_ONLY if (e_comp_util_has_x()) { - ecore_event_window_unregister(_drag_win); + if (e_comp->comp_type == E_PIXMAP_TYPE_X) + ecore_event_window_unregister(_drag_win); ecore_x_window_free(_drag_win); ecore_x_window_shadow_tree_flush(); } --