From 69c4bc64db0a99ba9848511db4d4fead4121d0e5 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 26 Feb 2015 21:55:34 -0500 Subject: [PATCH] don't send wl mouse button events when client's menu is active --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 109d64842..241082b00 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -265,7 +265,7 @@ _e_comp_wl_evas_handle_mouse_button(E_Client *ec, uint32_t timestamp, uint32_t b uint32_t serial, btn; struct wl_resource *res; - if (ec->cur_mouse_action) return EINA_FALSE; + if (ec->cur_mouse_action || ec->border_menu) return EINA_FALSE; if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE; if (e_client_util_ignored_get(ec)) return EINA_FALSE;