Modified to ignore input_method_cb_unbind() when the resource is different from before 39/106639/2
authorInHong Han <inhong1.han@samsung.com>
Thu, 22 Dec 2016 09:00:12 +0000 (18:00 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 22 Dec 2016 09:07:47 +0000 (01:07 -0800)
Change-Id: Iceb67871dd7e8210a1826e4191423b43abb43b49

src/e_mod_main.c

index 2d21200..35ec821 100644 (file)
@@ -1793,6 +1793,8 @@ _e_text_input_method_cb_unbind(struct wl_resource *resource)
         return;
      }
 
+   if (input_method->resource != resource) return;
+
    if (input_method->model)
      _e_text_input_deactivate(input_method->model, input_method);