additional keymap reload safety

This commit is contained in:
vaxerski
2022-06-25 11:50:09 +02:00
parent 3842b1641f
commit b46f45befa
2 changed files with 18 additions and 4 deletions

View File

@@ -71,6 +71,8 @@ struct SKeyboard {
bool active = false;
xkb_rule_names currentRules;
// For the list lookup
bool operator==(const SKeyboard& rhs) {
return keyboard == rhs.keyboard;