summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/WLClasses.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index 8cfee18a..02681f48 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -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;
+ }
+};