Fix key repeat in Wayland
author0140454 <s1994928@yahoo.com.tw>
Tue, 26 Jan 2021 17:19:15 +0000 (01:19 +0800)
committerakallabeth <akallabeth@users.noreply.github.com>
Thu, 25 Feb 2021 08:51:41 +0000 (09:51 +0100)
(cherry picked from commit 712c5fee97d9b007b902bee63b7b7a4971bfbe6b)

uwac/libuwac/uwac-input.c

index 005eff8..482c79e 100644 (file)
@@ -168,6 +168,7 @@ static void keyboard_repeat_func(UwacTask* task, uint32_t events)
 
                key->window = window;
                key->sym = input->repeat_sym;
+               key->raw_key = input->repeat_key;
                key->pressed = true;
        }
 }