wayland: log warning when compositor does not implement text-input

This commit is contained in:
Daniel Eklöf 2020-12-25 22:03:52 +01:00
parent 0dbd85ed9e
commit 218ce4ab87
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1130,6 +1130,13 @@ wayl_init(const struct config *conf, struct fdm *fdm)
goto out;
}
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
if (wayl->text_input_manager == NULL) {
LOG_WARN("text input interface not implemented by compositor; "
"IME will be disabled");
}
#endif
/* Trigger listeners registered when handling globals */
wl_display_roundtrip(wayl->display);