JakeStanger / ironbar

Customisable Wayland gtk bar written in Rust.
https://crates.io/crates/ironbar
MIT License
560 stars 47 forks source link

fix(workspaces): prevent crash when clicking current workspace #733

Closed Leshuguita closed 6 days ago

Leshuguita commented 1 week ago

Should solve https://github.com/JakeStanger/ironbar/issues/731 by printing a warning instead of stopping the receiving loop when focusing a workspace.

JakeStanger commented 6 days ago

Thanks for the fix.

I'm going to merge this, but leave the issue open for now as I'd like to investigate why the channel is filling up and causing the problem in the first place. For now though, avoiding the crash is better than nothing.