win: set elm_win type ELM_WIN_BASIC 87/119987/1
authorSungtaek Hong <sth253.hong@samsung.com>
Tue, 21 Mar 2017 04:41:49 +0000 (13:41 +0900)
committerSungtaek Hong <sth253.hong@samsung.com>
Tue, 21 Mar 2017 04:41:53 +0000 (13:41 +0900)
 - In Tizen 3.0, ELM_WIN_BASIC is 1, while 0 in upstream.
   when elm_win is added as 0, its type will be ELM_WIN_UNKNOWN,
   and its calculation cannot be guaranteed as the same with
   ELM_WIN_BASIC.

Change-Id: Ifa6212bc73f350010c29929a26f63ebf1bb132b3
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
ElmSharp/ElmSharp/Window.cs

index 6c71fcf..517737f 100755 (executable)
@@ -286,7 +286,7 @@ namespace ElmSharp
         protected override IntPtr CreateHandle(EvasObject parent)
         {
             Interop.Elementary.elm_config_accel_preference_set("3d");
-            return Interop.Elementary.elm_win_add(parent != null ? parent.Handle : IntPtr.Zero, Name, 0);
+            return Interop.Elementary.elm_win_add(parent != null ? parent.Handle : IntPtr.Zero, Name, 1);
         }
 
         internal void AddChild(EvasObject obj)