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>2021-01-21 10:44:36 +0000
commit152fb0186bd847b6632e8be8c7cad766e5c13d1a (patch)
treebc935793d293402ee3c2873056925470aca55e39
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);