check 0x1(keyrouting skip flag) in focus hook 41/174841/1
authorJengHyun Kang <jhyuni.kang@samsung.com>
Wed, 4 Apr 2018 11:10:41 +0000 (20:10 +0900)
committerJengHyun Kang <jhyuni.kang@samsung.com>
Wed, 4 Apr 2018 11:10:46 +0000 (20:10 +0900)
Change-Id: I5a0a4b78aa57a7c39e05c0d1fcf359fc8bce8045

src/e_mod_keyrouter_events.c

index 2c7fef8..cbb3fe6 100644 (file)
@@ -404,7 +404,7 @@ _e_keyrouter_send_key_events_focus(int type, struct wl_resource *surface_focus,
 
    if (!e_keyrouter_intercept_hook_call(E_KEYROUTER_INTERCEPT_HOOK_DELIVER_FOCUS, type, ev))
      {
-        if (ev->data)
+        if (ev->data && ev->data != (void *)0x1)
           {
              *delivered_surface = ev->data;
              ev->data = wl_resource_get_client(ev->data);