-
-
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
Won't suspend app "closed" to systray #45
Comments
Lines 150 to 156 in 4cce090
Lines 115 to 125 in 4cce090
Lines 104 to 107 in 4cce090
Indeed! If something can be done about the |
An idea might be to maintain processId<->windowId mappings whenever a new window is found. Then this window can disappear while the process itself will still be tracked. However that might be janky, especially for multi-process applications. |
I'd be happier with simply removing the whole condition here: Lines 123 to 125 in 4cce090
It passes through to: Lines 31 to 51 in 4cce090
which seems safe/noop in case the pid were no longer valid. Be aware, with |
Hi,
( nice tool! fyi, I just made a Gentoo ebuild for it :) )
xsuspender seems to be working so far. However, I noticed that it won't suspend certain apps that are "closed" but really just "minimize" to the systray. In this case, Signal (Electron-based 🙄)
How it's started:
firejail signal-desktop --use-tray-icon
Config:
When the window loses focus: 👍
When the window is "closed" to systray: 👎
Thanks!
edit: Other "closed" windows are affected aswell. Discord, or birdtray'ed Thunderbird. Probably because from xsuspender's perspective, the window simply disappeared?
The text was updated successfully, but these errors were encountered: