svkbd

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/svkbd
Log | Files | Refs | README | LICENSE

commit d97be0a938d6b2be95ff2905678330aaf447ad26
parent 0ee01af319ecbe3696f3210ed695fc8789cbe6f2
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Tue, 15 Jun 2021 15:39:01 -0500

increment input method serial properly

Diffstat:
Msvkbd.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/svkbd.c b/svkbd.c @@ -413,6 +413,7 @@ unpress(Key *k) break; } zwp_input_method_v2_commit(im, serial); + serial += 1; k->pressed = false; fprintf(stderr, "unpress of %s, %d\n", k->label, k->pressed); @@ -628,7 +629,6 @@ imdeactivate(void *data, struct zwp_input_method_v2 *input_method) void imdone(void *data, struct zwp_input_method_v2 *input_method) { - serial += 1; memcpy(surrounding_text2, surrounding_text, sizeof(surrounding_text)); cause = cause2; hint = hint2;