mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-06-05 03:02:17 -04:00
ime: make IME compile-time optional
This commit is contained in:
parent
8c3d48c5cd
commit
05083110c3
9 changed files with 103 additions and 29 deletions
|
|
@ -224,6 +224,7 @@ struct seat {
|
|||
struct wl_clipboard clipboard;
|
||||
struct wl_primary primary;
|
||||
|
||||
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
|
||||
/* Input Method Editor */
|
||||
struct zwp_text_input_v3 *wl_text_input;
|
||||
struct {
|
||||
|
|
@ -250,6 +251,7 @@ struct seat {
|
|||
|
||||
uint32_t serial;
|
||||
} ime;
|
||||
#endif
|
||||
};
|
||||
|
||||
enum csd_surface {
|
||||
|
|
@ -404,7 +406,9 @@ struct wayland {
|
|||
struct wp_presentation *presentation;
|
||||
uint32_t presentation_clock_id;
|
||||
|
||||
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
|
||||
struct zwp_text_input_manager_v3 *text_input_manager;
|
||||
#endif
|
||||
|
||||
bool have_argb8888;
|
||||
tll(struct monitor) monitors; /* All available outputs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue