derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0a91a24573b310ba63eabef639b2aad1b95c74f3

commit 0a91a24573b310ba63eabef639b2aad1b95c74f3
Author: Derek Foreman <[email protected]>
Date:   Thu Feb 2 12:03:51 2017 -0600

    Stop sending wayland motion events when the mouse is grabbed
    
    This stops the compositor from sending motion events to internal
    windows while they're being moved or resized.
---
 src/bin/e_comp_wl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index deaa6f4..0e156af 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -382,6 +382,7 @@ _e_comp_wl_evas_cb_mouse_move(void *data, Evas *evas 
EINA_UNUSED, Evas_Object *o
    if (e_object_is_del(E_OBJECT(ec))) return;
    if (ec->ignored) return;
    if (!ec->comp_data->surface) return;
+   if (e_comp->input_mouse_grabs) return;
 
    if ((!e_comp_wl->drag_client) ||
        (!e_client_has_xwindow(e_comp_wl->drag_client)))

-- 


Reply via email to