aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-25 21:03:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-26 11:09:24 +0000
commit218ce4ab8736e15ec0952224f90ac53a2af642a8 (patch)
treeb8c3d296635d227f4246a97da1e3c5624244e8da
parentterminal: reaper callback: don’t close ptmx if already closed (diff)
wayland: log warning when compositor does not implement text-input
-rw-r--r--wayland.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index f156533e..7dbf8593 100644
--- a/wayland.c
+++ b/wayland.c
@@ -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);