ime: wip: commit all changes in ‘done()’

This commit is contained in:
Daniel Eklöf 2020-12-01 19:31:49 +01:00
parent b85e2f40bb
commit 5745c610ac
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 64 additions and 6 deletions

View file

@ -223,8 +223,24 @@ struct seat {
/* Input Method Editor */
struct zwp_text_input_v3 *wl_text_input;
//struct {
//} ime;
struct {
struct {
char *text;
int32_t cursor_begin;
int32_t cursor_end;
} preedit;
struct {
char *text;
} commit;
struct {
uint32_t before_length;
uint32_t after_length;
} surrounding;
uint32_t serial;
} ime;
};
enum csd_surface {