Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a23a0a
)
Set SDL_HINT_IME_INTERNAL_EDITING.
author
Timo Korvola
<tkorvola@iki.fi>
Mon, 26 Mar 2018 23:19:56 +0000
(
02:19
+0300)
committer
Timo Korvola
<tkorvola@iki.fi>
Wed, 28 Mar 2018 16:40:31 +0000
(19:40 +0300)
src/sdl/sf_video.c
patch
|
blob
|
history
diff --git
a/src/sdl/sf_video.c
b/src/sdl/sf_video.c
index 25d4b04142007a105e6ffa1dccda4b13f6673a73..4523d266b8d3245e56f6731f06c5176134313c63 100644
(file)
--- a/
src/sdl/sf_video.c
+++ b/
src/sdl/sf_video.c
@@
-417,6
+417,9
@@
void sf_initvideo( int W, int H, int full)
if ( SDL_Init(initflags) < 0 ) {
os_fatal("Couldn't initialize SDL: %s", SDL_GetError());
}
+ /* We don't handle text edit events. Not that I know why anyone would
+ want to use such an IME with Frotz. */
+ SDL_SetHint(SDL_HINT_IME_INTERNAL_EDITING, "1");
CLEANREG(cleanvideo);