code sync with upstream
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ib0eea52fb6b152c6213223fbcea5cdda7cf5f480
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)