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

Yofi Layer Shell / Input exclusivity, doesn't get destroyed without stopping the program. #150

Open
BlockListed opened this issue Oct 12, 2023 · 0 comments

Comments

@BlockListed
Copy link
Contributor

Issue

If yofi blocks after finishing the main loop, yofi's layer_shell ui and input exclusivity is still active and will soft-lock the wm.
This becomes an issue, when sending a notification with notify-send blocks for 60s when a panic occurs, thus soft-locking the wm for 60s.

Reproduce

Set a gdb breakpoint just after finishing main_inner() (currently main.rs:264) and run the program. Your wm will now be soft-locked, since the Drop impls for the wayland stuff don't actually remove the layer_shell / input exclusivity. The only time that stuff gets cleaned up is when the program exits.

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

1 participant