wayland: implement keyboard_shortcuts_inhibit_v1

fixes #4568
This commit is contained in:
Vaxry
2024-02-27 23:14:56 +00:00
parent f26d7aa58d
commit e3373669e5
6 changed files with 42 additions and 0 deletions

View File

@@ -412,3 +412,13 @@ struct STearingController {
return pWlrHint == other.pWlrHint;
}
};
struct SShortcutInhibitor {
wlr_keyboard_shortcuts_inhibitor_v1* pWlrInhibitor = nullptr;
DYNLISTENER(destroy);
bool operator==(const SShortcutInhibitor& other) {
return pWlrInhibitor == other.pWlrInhibitor;
}
};