mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
Deal with more xkb bullshit
This commit is contained in:
parent
e5d3074d70
commit
4db89b5fe4
@ -336,9 +336,11 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier
|
||||
|
||||
struct sway_mode *mode = config->current_mode;
|
||||
|
||||
if (!isalnum(sym) && sym != ' ' && sym != XKB_KEY_Escape && sym != XKB_KEY_Tab) {
|
||||
// God fucking dammit
|
||||
return false;
|
||||
if (sym < 70000 /* bullshit made up number */) {
|
||||
if (!isalnum(sym) && sym != ' ' && sym != XKB_KEY_Escape && sym != XKB_KEY_Tab) {
|
||||
// God fucking dammit
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// Lowercase if necessary
|
||||
|
Loading…
Reference in New Issue
Block a user