2020-10-10 22:14:35 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
2020-12-03 18:36:56 +01:00
|
|
|
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
|
|
|
|
|
|
2020-10-10 22:14:35 +02:00
|
|
|
#include "text-input-unstable-v3.h"
|
|
|
|
|
|
|
|
|
|
extern const struct zwp_text_input_v3_listener text_input_listener;
|
2020-12-03 18:36:56 +01:00
|
|
|
|
|
|
|
|
#endif /* FOOT_IME_ENABLED */
|
|
|
|
|
|
|
|
|
|
struct seat;
|
2020-12-20 15:01:21 -07:00
|
|
|
struct terminal;
|
2020-12-03 18:36:56 +01:00
|
|
|
|
2020-12-04 18:39:11 +01:00
|
|
|
void ime_enable(struct seat *seat);
|
|
|
|
|
void ime_disable(struct seat *seat);
|
2021-03-23 13:56:33 +01:00
|
|
|
void ime_update_cursor_rect(struct seat *seat);
|
2020-12-04 18:39:11 +01:00
|
|
|
|
2021-03-23 13:03:07 +01:00
|
|
|
void ime_reset_pending_preedit(struct seat *seat);
|
|
|
|
|
void ime_reset_pending_commit(struct seat *seat);
|
|
|
|
|
void ime_reset_pending(struct seat *seat);
|
2020-12-03 18:36:56 +01:00
|
|
|
void ime_reset_preedit(struct seat *seat);
|