mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-28 07:58:44 +01:00
Deal with more xkb bullshit
This commit is contained in:
parent
e5d3074d70
commit
4db89b5fe4
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
struct sway_mode *mode = config->current_mode;
|
||||||
|
|
||||||
if (!isalnum(sym) && sym != ' ' && sym != XKB_KEY_Escape && sym != XKB_KEY_Tab) {
|
if (sym < 70000 /* bullshit made up number */) {
|
||||||
// God fucking dammit
|
if (!isalnum(sym) && sym != ' ' && sym != XKB_KEY_Escape && sym != XKB_KEY_Tab) {
|
||||||
return false;
|
// God fucking dammit
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lowercase if necessary
|
// Lowercase if necessary
|
||||||
|
|
Loading…
Add table
Reference in a new issue