Change-Id: Iad3c93d21482fcd001a63987387d18c02e2f5680
static Eina_Bool
_e_keyrouter_send_key_event(int type, struct wl_resource *surface, struct wl_client *wc, Ecore_Event_Key *ev, Eina_Bool focused, unsigned int mode)
{
- struct wl_client *wc_send, *wc_focus = NULL;
- struct wl_resource *surface_focus;
- E_Client *ec_focus;
+ struct wl_client *wc_send = NULL;
Ecore_Event_Key *ev_cpy;
int len;
- ec_focus = e_client_focused_get();
- surface_focus = e_keyrouter_util_get_surface_from_eclient(ec_focus);
- if (surface_focus) wc_focus = wl_resource_get_client(surface_focus);
-
if (surface == NULL)
{
wc_send = wc;