aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-26 11:10:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-26 11:10:04 +0000
commit2f867a8c2cbfc419e824fb2c9aa0b5757a1b6d73 (patch)
treee4cd6dc48b1bafe3ecc2203faefa0001cdedef84 /wayland.c
parentterminal: reaper callback: don’t close ptmx if already closed (diff)
parentime: don’t call text-input functions when it isn’t available (diff)
Merge branch 'no-ime'
Closes #259
Diffstat (limited to 'wayland.c')
-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);