summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_input.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-05-08 13:25:54 -0500
committerDerek Foreman <derekf@osg.samsung.com>2018-05-08 13:25:54 -0500
commit77f946a92c24e89b486be6508a0c494c8f98f66b (patch)
tree24359976434f7f972a5c2805e82e49de79571544 /src/lib/ecore_wl2/ecore_wl2_input.c
parentcad847cf1349185877ef24e9db5a7aff4cb70c83 (diff)
elm_win: Remove move stop callback
Summary: This is only fired to trigger a cursor set under wayland, but that cursor set should be done unconditionally on mouse in. However, mouse in was being discarded because mouse out was being deferred when the window was "grabbed" for moving. If instead we just let the mouse out occur as it should, the cursor is properly updated on mouse in. Depends on D6118 Reviewers: zmike, cedric Reviewed By: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6119
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_input.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index 256dd45c15..71a537c8f0 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -745,9 +745,6 @@ _pointer_cb_leave(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned i
745 window = _ecore_wl2_display_window_surface_find(input->display, surface); 745 window = _ecore_wl2_display_window_surface_find(input->display, surface);
746 if (!window) return; 746 if (!window) return;
747 747
748 /* NB: Don't send a mouse out if we grabbed this window for moving */
749 if ((window->moving) && (input->grab.window == window)) return;
750
751 _ecore_wl2_input_mouse_out_send(input, window); 748 _ecore_wl2_input_mouse_out_send(input, window);
752} 749}
753 750