mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 05:54:11 +01:00
Do not pass modifiers when getting keysyms from wlc
Fixes #124 Keyboard handling can likely be simplified after this change.
This commit is contained in:
parent
73d35f4b1d
commit
adcf89cfe4
@ -302,7 +302,8 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier
|
|||||||
|
|
||||||
struct sway_mode *mode = config->current_mode;
|
struct sway_mode *mode = config->current_mode;
|
||||||
|
|
||||||
uint32_t sym = tolower(wlc_keyboard_get_keysym_for_key(key, modifiers));
|
struct wlc_modifiers no_mods = { 0, 0 };
|
||||||
|
uint32_t sym = tolower(wlc_keyboard_get_keysym_for_key(key, &no_mods));
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user