fix(frontends): preserve preedit lifecycle
This commit is contained in:
@@ -199,6 +199,7 @@ ibusbegin(struct ct *t, Ibusfix *f)
|
||||
memset(contexts, 0, sizeof contexts);
|
||||
memset(conns, 0, sizeof conns);
|
||||
nconns = 0;
|
||||
preowner = nil;
|
||||
while(channbrecv(drawc, &dc) > 0)
|
||||
;
|
||||
testengineinit(LangEN);
|
||||
@@ -234,6 +235,7 @@ ibusend(Ibusfix *f)
|
||||
memset(contexts, 0, sizeof contexts);
|
||||
memset(conns, 0, sizeof conns);
|
||||
nconns = 0;
|
||||
preowner = nil;
|
||||
testengineinit(LangEN);
|
||||
while(channbrecv(drawc, &dc) > 0)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user