mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-14 23:38:22 +00:00
idle-inhibit: move to new impl
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user