SDL/src/video/uikit
Deve c67ff82377 Avoid textinput events when pasting from clipboard on iOS.
I handle command+C and command+V shortcuts for copy/paste from clipboard using
SDL_GetClipboardText/SDL_SetClipboardText. But on iOS command+V shortcut is
also handled by system, so that I also get textinput event with that clipboard
text. And thus the application gets this clipboard text twice (from
SDL_GetClipboardText and from textinput event).

I assume that intended behavior is that command+V shouldn't generate textinput
events. At least as far as I know ctrl+V on other platforms does nothing. This
commit disables paste action for UITextField, so that textinput event isn't
generated anymore.

(cherry picked from commit eddaf870f5)
2023-11-19 08:20:01 -08:00
..
SDL_uikitappdelegate.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_uikitappdelegate.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitclipboard.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_uikitclipboard.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitevents.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_uikitevents.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitmessagebox.h cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitmessagebox.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitmetalview.h cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitmetalview.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitmodes.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_uikitmodes.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitopengles.h cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitopengles.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitopenglview.h cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitopenglview.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitvideo.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_uikitvideo.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitview.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_uikitview.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitviewcontroller.h Avoid textinput events when pasting from clipboard on iOS. 2023-11-19 08:20:01 -08:00
SDL_uikitviewcontroller.m Avoid textinput events when pasting from clipboard on iOS. 2023-11-19 08:20:01 -08:00
SDL_uikitvulkan.h cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitvulkan.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
SDL_uikitwindow.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_uikitwindow.m cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00