Fix the issue of the page mark didn't show in setup wizard. 05/172305/2
authorXie Ligang <ligang0.xie@samsung.com>
Tue, 13 Mar 2018 06:54:57 +0000 (14:54 +0800)
committerLigang Xie <ligang0.xie@samsung.com>
Tue, 13 Mar 2018 07:20:48 +0000 (07:20 +0000)
Change-Id: Ib5325288b0933b98001faf8a56d2b299bdb96538

src/modeindicator.cpp

index c9b52af..dd3c5c6 100644 (file)
@@ -18,6 +18,7 @@
 #include <Elementary.h>
 #include <scltypes.h>
 #include <dlog.h>
+#include <inputmethod.h>
 
 using namespace scl;
 
@@ -39,7 +40,8 @@ void create_indicator_window(sclint width, sclint height)
     if (_indicator_win)
         return;
 
-    Evas_Object *win = elm_win_add(NULL, "IndicatorWindow", ELM_WIN_UTILITY);
+    Evas_Object *main_window = ime_get_main_window();
+    Evas_Object *win = elm_win_add(main_window, "IndicatorWindow", ELM_WIN_UTILITY);
     if (win) {
         elm_win_borderless_set(win, EINA_TRUE);
         elm_win_title_set(win, "ISF Popup");