broadway: Support ipad on-screen keyboard

We add a custom im module for broadway that calls some broadway
specific APIs to show/hide the keyboard on focus in/out. We then forward this
to the browser, and on the ipad we focus an input field to activate
the keyboard.
This commit is contained in:
Alexander Larsson
2013-11-13 12:20:07 +01:00
parent ca89f5ab93
commit 4226f97d54
15 changed files with 318 additions and 6 deletions

View File

@ -297,6 +297,9 @@ client_handle_request (BroadwayClient *client,
case BROADWAY_REQUEST_FOCUS_WINDOW:
broadway_server_focus_window (server, request->focus_window.id);
break;
case BROADWAY_REQUEST_SET_SHOW_KEYBOARD:
broadway_server_set_show_keyboard (server, request->set_show_keyboard.show_keyboard);
break;
default:
g_warning ("Unknown request of type %d\n", request->base.type);
}