summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index d694146a..953d5ea4 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1008,6 +1008,13 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) {
1008 postCommand_App("media.player.update"); /* in case a player needs updating */ 1008 postCommand_App("media.player.update"); /* in case a player needs updating */
1009 return iTrue; 1009 return iTrue;
1010 } 1010 }
1011 if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.sysframe") && mw) {
1012 /* This command is sent on Android to update the keyboard height. */
1013 const char *cmd = command_UserEvent(ev);
1014 setKeyboardHeight_MainWindow(mw, argLabel_Command(cmd, "fullheight") -
1015 argLabel_Command(cmd, "bottom"));
1016 return iTrue;
1017 }
1011 if (processEvent_Touch(&event)) { 1018 if (processEvent_Touch(&event)) {
1012 return iTrue; 1019 return iTrue;
1013 } 1020 }