Remove unused variables 18/70418/1 accepted/tizen/common/20160519.191542 accepted/tizen/ivi/20160520.002622 accepted/tizen/mobile/20160520.002759 accepted/tizen/tv/20160520.002535 accepted/tizen/wearable/20160520.002619 submit/tizen/20160519.075627
authorJengHyun Kang <jhyuni.kang@samsung.com>
Thu, 19 May 2016 07:32:28 +0000 (16:32 +0900)
committerJengHyun Kang <jhyuni.kang@samsung.com>
Thu, 19 May 2016 07:32:38 +0000 (16:32 +0900)
Change-Id: If562163b45642a155a9343772d35b2e62f44a9cd

src/e_mod_keyrouter_events.c

index 108d0c8..eb4a50c 100644 (file)
@@ -313,16 +313,10 @@ _e_keyrouter_check_top_visible_window(E_Client *ec_focus, int arr_idx)
 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;
    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;