mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-04-16 22:06:49 +02:00
Draw compose key as pressed when compose is enabled
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
7be30a6a56
commit
11d6924a13
@ -413,7 +413,8 @@ kbd_draw_layout(struct kbd *kb) {
|
||||
next_key++;
|
||||
continue;
|
||||
}
|
||||
if (next_key->type == Mod && kb->mods & next_key->code) {
|
||||
if ((next_key->type == Mod && kb->mods & next_key->code) ||
|
||||
(next_key->type == Compose && kb->compose)) {
|
||||
kbd_draw_key(kb, next_key, Press);
|
||||
} else {
|
||||
kbd_draw_key(kb, next_key, Unpress);
|
||||
|
Loading…
x
Reference in New Issue
Block a user