Skip to content

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

@BlockListed

Description

@BlockListed

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions