keyrouter_events: removed unused variables to fix warnings. 43/67443/1
authorGwanglim Lee <gl77.lee@samsung.com>
Tue, 26 Apr 2016 12:30:59 +0000 (21:30 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 26 Apr 2016 12:30:59 +0000 (21:30 +0900)
Change-Id: Iad3c93d21482fcd001a63987387d18c02e2f5680

src/e_mod_keyrouter_events.c

index 8f7e0ba..800376c 100644 (file)
@@ -312,16 +312,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 = 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;