-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Xsuspender does not register focus/unfocus events #43
Comments
Yes, you can run the example with We use this to subscribe to window change events: Lines 16 to 19 in a26b7e7
Lines 80 to 90 in a26b7e7
Lines 59 to 76 in a26b7e7
Anything strike you as odd? |
Thanks for replying so quickly! I added some debug prints and reran the program. It seems that
I thought that maybe this line could be the cause:
because I have 2 screens, so I thought maybe it's connecting to the other screen than the one I am using. But I disabled 1 screen (via xrandr), and verified with the debug prints that only 1 screen is detected in xsuspender, yet the bug still manifested with the same behaviour. Any ideas what else I could try? I see 2 issues:
|
Make sure the platform is X11 and not Wayland. If it works with another WM, such as flwm or Xfce, you might ask @awesomeWM guys. |
I tested with Openbox and Xfce, but unfortunately it's the same behaviour. The application just seems to fail to listen to window events. I am definitely not in Wayland:
For anyone else encountering this issue, you can recreate the suspend functionality in AwesomeWM, just paste this into your
|
Hello, firstly, thank you very much for this program! It's just what I need for a few pesky applications that take up CPU even when not being used.
Specs
OS: ArchLinux
Xsuspender version: Latest as-of today (4cce090)
Window Manager: AwesomeWM v4.3
Xorg-server version: 21.1.8
Steps to reproduce
pavucontrol
(I tried Chromium and other apps too, any app will do)G_MESSAGES_DEBUG=xsuspender xsuspender
in a terminalxsuspender
to have Pavucontrol resume running.Here's the output of that:
It seems that whatever mechanism
xsuspender
uses to listen to the focus/unfocus events isn't working? Can I provide any more info or experiments to help debug this issue?The text was updated successfully, but these errors were encountered: