Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext-idle-notify-v1 does not always seem to work #107

Closed
botn365 opened this issue Nov 4, 2024 · 2 comments
Closed

ext-idle-notify-v1 does not always seem to work #107

botn365 opened this issue Nov 4, 2024 · 2 comments

Comments

@botn365
Copy link

botn365 commented Nov 4, 2024

OS: Linux 6.11.5-arch1-1
Hyprland, built from branch at commit 4520b30d498daca8079365bdb909a8dea38e8d55 (version: bump to 0.44.1).
hypridle 0.1.4-1

My understanding of how hypridle works
Is by using ext_idle_notifier_v1 to listen for idle
And separately is pulling for inhibitors increasing or decreasing m_iInhibitLocks if their is a new lock or geting removed

void CHypridle::onInhibit(bool lock) {
    m_iInhibitLocks += lock ? 1 : -1;

Then when idled or removed gets called it checks if their are any inhabitor locks

if (g_pHypridle->m_iInhibitLocks > 0) {

When trying to implement #39 it seems like only steam was getting loged
log.txt
But when watching a youtube video or starting factorio they send nothing in the logs
But idled would completely be stopped being called even when putting a break point in onIdled
Even setting ignore_dbus_inhibit and ignore_systemd_inhibit to true does not stop firefox/youtube or factorio from inhabiting idle

@vaxerski
Copy link
Member

vaxerski commented Nov 4, 2024

what?

@botn365
Copy link
Author

botn365 commented Nov 5, 2024

okay im just stupid i should have looked around more to find zwp_idle_inhibit_manager_v1

@botn365 botn365 closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants