Add condition in case ecore_wl_display_get() returns NULL 09/87409/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 8 Sep 2016 01:36:56 +0000 (10:36 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 8 Sep 2016 01:37:01 +0000 (10:37 +0900)
Change-Id: I58073f7b9ab9cb7e5cf20fef10369458362332dd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/extras/wayland_immodule/wayland_imcontext.c

index 012aad3..b82bfc7 100644 (file)
@@ -2026,6 +2026,8 @@ wayland_im_context_filter_event(Ecore_IMF_Context    *ctx,
                     return EINA_FALSE;
             }
         }
+        else
+            return EINA_FALSE;
 
         LOGD ("elapsed : %.3f ms, serial (last, require) : (%d, %d)", (ecore_time_get() - start_time)*1000, imcontext->last_key_event_filter.serial, serial);
         //Deal with the next key event in list.