Merge remote-tracking branch 'origin/master' into tizen
authorDotnetBuild <dotnetbuild.tizen@gmail.com>
Tue, 26 Dec 2017 15:00:22 +0000 (00:00 +0900)
committerDotnetBuild <dotnetbuild.tizen@gmail.com>
Tue, 26 Dec 2017 15:00:22 +0000 (00:00 +0900)
src/Tizen.Uix.InputMethod/Interop/Interop.InputMethod.cs
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs

index 1ec40cf..79eaee8 100755 (executable)
@@ -197,6 +197,9 @@ internal static partial class Interop
         [DllImport(Libraries.InputMethod, EntryPoint = "ime_finalize")]
         internal static extern ErrorCode ImeFinalize();
 
+        [DllImport(Libraries.InputMethod, EntryPoint = "ime_set_dotnet_flag")]
+        internal static extern ErrorCode ImeSetDotnetFlag(bool set);
+
         [DllImport(Libraries.InputMethod, EntryPoint = "ime_set_size")]
         internal static extern ErrorCode ImeSetSize(int portraitWidth, int portraitHeight, int landscapeWidth, int landscapeHeight);
 
index 0e23e98..e59afb3 100755 (executable)
@@ -1704,6 +1704,7 @@ namespace Tizen.Uix.InputMethod
             _imeCallbackStructGCHandle._imeCallbackStruct.hide = _hide;
             _imeCallbackStructGCHandle._imeCallbackStruct.show = _show;
 
+            ImeSetDotnetFlag(true);
             ErrorCode error = ImeRun(ref _imeCallbackStructGCHandle._imeCallbackStruct, IntPtr.Zero);
             if (error != ErrorCode.None)
             {