split wayland commit cycles
This commit is contained in:
@@ -119,8 +119,10 @@ kpress(uint32_t time, uint32_t keycode, uint32_t state)
|
|||||||
}
|
}
|
||||||
mod = mget();
|
mod = mget();
|
||||||
sendkey(k, mod, com, sizeof(com), pre, sizeof(pre), &eaten);
|
sendkey(k, mod, com, sizeof(com), pre, sizeof(pre), &eaten);
|
||||||
if(com[0] != '\0')
|
if(com[0] != '\0'){
|
||||||
zwp_input_method_v2_commit_string(im, com);
|
zwp_input_method_v2_commit_string(im, com);
|
||||||
|
zwp_input_method_v2_commit(im, imserial);
|
||||||
|
}
|
||||||
plen = strlen(pre);
|
plen = strlen(pre);
|
||||||
zwp_input_method_v2_set_preedit_string(im, pre, plen, plen);
|
zwp_input_method_v2_set_preedit_string(im, pre, plen, plen);
|
||||||
zwp_input_method_v2_commit(im, imserial);
|
zwp_input_method_v2_commit(im, imserial);
|
||||||
|
|||||||
Reference in New Issue
Block a user