aboutsummaryrefslogtreecommitdiff
path: root/ime.h
diff options
context:
space:
mode:
Diffstat (limited to 'ime.h')
-rw-r--r--ime.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ime.h b/ime.h
index d1ce7ff0..d5c96534 100644
--- a/ime.h
+++ b/ime.h
@@ -1,5 +1,15 @@
#pragma once
+#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
+
#include "text-input-unstable-v3.h"
extern const struct zwp_text_input_v3_listener text_input_listener;
+
+#endif /* FOOT_IME_ENABLED */
+
+struct seat;
+
+void ime_reset_preedit(struct seat *seat);
+void ime_reset_commit(struct seat *seat);
+void ime_reset(struct seat *seat);