From: Duna Oh Date: Tue, 31 May 2016 06:27:20 +0000 (+0900) Subject: e_comp_wl_input: add check for ec->mouse.in when gets cursor_set X-Git-Tag: accepted/tizen/common/20160531.143639~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c87e44efb0b4307d2152014375d9f0b9181e49f;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl_input: add check for ec->mouse.in when gets cursor_set code sync with upstream Signed-off-by: Duna Oh Change-Id: Ib0eea52fb6b152c6213223fbcea5cdda7cf5f480 --- diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 983a6dc..618cb4e 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -72,8 +72,11 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) continue; if (!ec->comp_data->surface) continue; if (client != wl_resource_get_client(ec->comp_data->surface)) continue; - got_mouse = EINA_TRUE; - break; + if (ec->mouse.in) + { + got_mouse = EINA_TRUE; + break; + } } if (!got_mouse) return; if (!surface_resource)