diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-27 23:14:56 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-27 23:15:24 +0000 |
| commit | e3373669e5544c3f18cf1edcd8fcfff9c6222f5c (patch) | |
| tree | 4b248f96e35919dad78e06bba255fdf107f1356e /src/helpers | |
| parent | f26d7aa58d78e764871ff026fb78f4322f0a6879 (diff) | |
wayland: implement keyboard_shortcuts_inhibit_v1
fixes #4568
Diffstat (limited to 'src/helpers')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 10 |
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; + } +}; |
