idle-inhibit: enable idle inhibitor if no hl surface is associated (#5882)
This commit is contained in:
parent
aaf35b9f1f
commit
03ebad3cbf
2 changed files with 7 additions and 5 deletions
|
|
@ -242,7 +242,7 @@ class CInputManager {
|
|||
// idle inhibitors
|
||||
struct SIdleInhibitor {
|
||||
std::shared_ptr<CIdleInhibitor> inhibitor;
|
||||
bool inert = false;
|
||||
bool nonDesktop = false;
|
||||
CHyprSignalListener surfaceDestroyListener;
|
||||
};
|
||||
std::vector<std::unique_ptr<SIdleInhibitor>> m_vIdleInhibitors;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue