@@ -43,7 +43,7 @@ public static IntPtr WindowHandle
4343 get => windowHandle ;
4444 set
4545 {
46- #if WINDOWS7_0_OR_GREATER
46+ #if WINDOWS7_0_OR_GREATER && ! WINDOWS10_0_17763_0_OR_GREATER
4747 if ( value != IntPtr . Zero && windowHandle != value )
4848 AdvancedImeInit ( value ) ;
4949#endif
@@ -65,7 +65,7 @@ public static IntPtr WindowHandle
6565 /// <returns>True if text input state is active</returns>
6666 public static bool IsTextInputActive ( )
6767 {
68- #if WINDOWS7_0_OR_GREATER
68+ #if WINDOWS7_0_OR_GREATER && ! WINDOWS10_0_17763_0_OR_GREATER
6969 return ImeSharp . InputMethod . Enabled ;
7070#else
7171 return FNAPlatform . IsTextInputActive ( WindowHandle ) ;
@@ -84,7 +84,7 @@ public static bool IsScreenKeyboardShown(IntPtr window)
8484
8585 public static void StartTextInput ( )
8686 {
87- #if WINDOWS7_0_OR_GREATER
87+ #if WINDOWS7_0_OR_GREATER && ! WINDOWS10_0_17763_0_OR_GREATER
8888 // Need to ensure SDL2 text input is stopped
8989 FNAPlatform . StopTextInput ( WindowHandle ) ;
9090 ImeSharp . InputMethod . Enabled = true ;
@@ -95,7 +95,7 @@ public static void StartTextInput()
9595
9696 public static void StopTextInput ( )
9797 {
98- #if WINDOWS7_0_OR_GREATER
98+ #if WINDOWS7_0_OR_GREATER && ! WINDOWS10_0_17763_0_OR_GREATER
9999 ImeSharp . InputMethod . Enabled = false ;
100100#else
101101 FNAPlatform . StopTextInput ( WindowHandle ) ;
@@ -109,7 +109,7 @@ public static void StopTextInput()
109109 /// <param name="rectangle">Text input location relative to GameWindow.ClientBounds</param>
110110 public static void SetInputRectangle ( Rectangle rectangle )
111111 {
112- #if WINDOWS7_0_OR_GREATER
112+ #if WINDOWS7_0_OR_GREATER && ! WINDOWS10_0_17763_0_OR_GREATER
113113 if ( ImeSharp . InputMethod . Enabled )
114114 ImeSharp . InputMethod . SetTextInputRect ( rectangle . X , rectangle . Y , rectangle . Width , rectangle . Height ) ;
115115#else
@@ -139,7 +139,7 @@ internal static void OnTextEditing(string text, int start, int length)
139139
140140 #endregion
141141
142- #if WINDOWS7_0_OR_GREATER
142+ #if WINDOWS7_0_OR_GREATER && ! WINDOWS10_0_17763_0_OR_GREATER
143143 internal static void AdvancedImeInit ( IntPtr sdlWindowHandle )
144144 {
145145 var windowProps = SDL3 . SDL . SDL_GetWindowProperties ( sdlWindowHandle ) ;
0 commit comments