From e3373669e5544c3f18cf1edcd8fcfff9c6222f5c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 27 Feb 2024 23:14:56 +0000 Subject: wayland: implement keyboard_shortcuts_inhibit_v1 fixes #4568 --- src/helpers/WLClasses.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/helpers') 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; + } +}; -- cgit v1.2.3