engine: route popup preedit by client capability

This commit is contained in:
2026-08-14 17:02:46 +09:00
parent c1b1b7016e
commit 2376035524
10 changed files with 81 additions and 28 deletions

1
srv.c
View File

@@ -41,6 +41,7 @@ clientthread(void *arg)
reply = chancreate(sizeof(Keyres), 0);
kr.reply = reply;
kr.owner = &fd;
kr.cap = Cclientpreedit;
while((want = srvreadkey(fd, &kr)) >= 0){
chansend(keyc, &kr);
chanrecv(reply, &res);