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

5
dat.h
View File

@@ -138,6 +138,10 @@ struct Drawcmd
typedef struct Keyreq Keyreq;
typedef struct Keyres Keyres;
enum
{
Cclientpreedit = 1<<0,
};
enum
{
Keypress,
Keyreset,
@@ -154,6 +158,7 @@ struct Keyres
struct Keyreq
{
void *owner; /* stable until the context's release is acknowledged */
int cap;
int op;
u32int ks;
u32int mod;