Merge pull request #1203 from dcz-purism/input

Support input method and text input
This commit is contained in:
Drew DeVault 2018-10-12 13:44:46 +02:00 committed by GitHub
commit 66e8908e9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 2944 additions and 1 deletions

View file

@ -957,6 +957,11 @@ struct roots_desktop *desktop_create(struct roots_server *server,
wl_signal_add(&desktop->input_inhibit->events.deactivate,
&desktop->input_inhibit_deactivate);
desktop->input_method =
wlr_input_method_manager_v2_create(server->wl_display);
desktop->text_input = wlr_text_input_manager_v3_create(server->wl_display);
desktop->virtual_keyboard = wlr_virtual_keyboard_manager_v1_create(
server->wl_display);
wl_signal_add(&desktop->virtual_keyboard->events.new_virtual_keyboard,