Merge branch 'do-not-pass-symbol-to-key-presses' into 'master'

Do not pass the symbol to the key emitter

See merge request Librem5/squeekboard!128
This commit is contained in:
Dorota Czaplejewicz
2019-08-13 12:28:15 +00:00
3 changed files with 2 additions and 4 deletions

View File

@ -222,7 +222,7 @@ void eek_keyboard_press_key(LevelKeyboard *keyboard, EekKey *key, guint32 timest
guint keycode = eek_key_get_keycode (key);
emit_key_activated(keyboard->manager, keyboard, keycode, symbol, 0, TRUE, timestamp);
emit_key_activated(keyboard->manager, keyboard, keycode, 0, TRUE, timestamp);
}
void eek_keyboard_release_key(LevelKeyboard *keyboard,
@ -247,7 +247,7 @@ void eek_keyboard_release_key(LevelKeyboard *keyboard,
guint keycode = eek_key_get_keycode (key);
emit_key_activated(keyboard->manager, keyboard, keycode, symbol, 0, FALSE, timestamp);
emit_key_activated(keyboard->manager, keyboard, keycode, 0, FALSE, timestamp);
}
static void

View File

@ -107,7 +107,6 @@ void
emit_key_activated (EekboardContextService *manager,
LevelKeyboard *keyboard,
guint keycode,
EekSymbol *symbol,
EekModifierType modifiers,
gboolean pressed,
uint32_t timestamp)

View File

@ -41,7 +41,6 @@ enum mod_indices {
void
emit_key_activated (EekboardContextService *manager, LevelKeyboard *keyboard,
guint keycode,
EekSymbol *symbol,
guint modifiers,
gboolean pressed, uint32_t timestamp);
#endif // KEYEMITTER_H