discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=43157cb1f509af5ab18b70a2ac76dcb8f3d69056
commit 43157cb1f509af5ab18b70a2ac76dcb8f3d69056 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Fri May 12 12:09:18 2017 -0400 unset wl button mask when beginning a move/resize operation ensure that clients do not receive a release event for any pressed buttons --- src/bin/e_comp_wl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 8d6cc9463..344279080 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -2526,10 +2526,16 @@ _e_comp_wl_client_cb_focus_unset(void *data EINA_UNUSED, E_Client *ec) } static void +_e_comp_wl_client_cb_move_begin(void *data EINA_UNUSED, E_Client *ec EINA_UNUSED) +{ + e_comp_wl->ptr.button_mask = 0; +} + +static void _e_comp_wl_client_cb_resize_begin(void *data EINA_UNUSED, E_Client *ec) { + e_comp_wl->ptr.button_mask = 0; if (e_client_has_xwindow(ec)) return; - e_comp_wl->resize.edges = 0; if (ec->keyboard_resizing) return; switch (ec->resize_mode) @@ -2862,6 +2868,8 @@ e_comp_wl_init(void) e_client_hook_add(E_CLIENT_HOOK_FOCUS_UNSET, _e_comp_wl_client_cb_focus_unset, NULL); + e_client_hook_add(E_CLIENT_HOOK_MOVE_BEGIN, + _e_comp_wl_client_cb_move_begin, NULL); e_client_hook_add(E_CLIENT_HOOK_RESIZE_BEGIN, _e_comp_wl_client_cb_resize_begin, NULL); e_client_hook_add(E_CLIENT_HOOK_RESIZE_END, --