idle-inhibit: move to new impl
This commit is contained in:
parent
e823b5d693
commit
d9fe1d0f58
14 changed files with 154 additions and 68 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue