diff --git a/src/dlangui/platforms/sdl/sdlapp.d b/src/dlangui/platforms/sdl/sdlapp.d index 9c28af2f..421a4375 100644 --- a/src/dlangui/platforms/sdl/sdlapp.d +++ b/src/dlangui/platforms/sdl/sdlapp.d @@ -777,6 +777,8 @@ class SDLWindow : Window { string str = fromStringz(s).dup; dstring ds = toUTF32(str); uint flags = convertKeyFlags(SDL_GetModState()); + if (flags & KeyFlag.Control || flags & KeyFlag.Alt || flags & KeyFlag.Menu) + return true; bool res = dispatchKeyEvent(new KeyEvent(KeyAction.Text, 0, flags, ds)); if (res) { debug(DebugSDL) Log.d("Calling update() after text event");