core: layout: mark layout switcher for Greek math as non-text

The "switch_greekmath" key doesn't emit text. The Shift modifier
shouldn't make the key label uppercase. Mark it as a key that doesn't
emit text.
This commit is contained in:
Richard Acayan 2025-03-27 22:06:52 -04:00
parent 7994a2594b
commit 9ebd4ed7c5

View file

@ -283,6 +283,8 @@ impl Part {
KeyValue(Keysym::Meta_L, _) => false, KeyValue(Keysym::Meta_L, _) => false,
KeyValue(Keysym::XF86_Fn, _) => false, KeyValue(Keysym::XF86_Fn, _) => false,
KeyValue(Keysym::Scroll_Lock, _) => false,
KeyValue(_, l) => l != "", KeyValue(_, l) => l != "",
} }
} }