summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-21 16:29:30 +0100
committerVaxry <vaxry@vaxry.net>2024-04-21 16:54:52 +0100
commitd9fe1d0f58bcafd22ee23097de41e7039a36afe2 (patch)
tree4804487f925b796defc244991bf34ad8a07b3e7e /src/helpers
parente823b5d6930af15c1a9c1d76682e8e7be4a0eeb6 (diff)
idle-inhibit: move to new impl
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/WLClasses.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index 89af21c3..d6e24d53 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -269,18 +269,6 @@ struct STabletPad {
}
};
-struct SIdleInhibitor {
- wlr_idle_inhibitor_v1* pWlrInhibitor = nullptr;
- CWindow* pWindow = nullptr;
- std::shared_ptr<HOOK_CALLBACK_FN> onWindowDestroy;
-
- DYNLISTENER(Destroy);
-
- bool operator==(const SIdleInhibitor& b) const {
- return pWlrInhibitor == b.pWlrInhibitor;
- }
-};
-
struct SSwipeGesture {
PHLWORKSPACE pWorkspaceBegin = nullptr;