mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-21 00:49:25 +01:00
When adding selective handling of Uncloak events, a regression was introduced where, for example, when clicking a link from Discord on Workspace 2, a Firefox instance on Workspace 1 would be moved to Workspace 2 to open the link, but when moving back to Workspace 1, a ghost tile would be left, and the Firefox instance would be duplicated across two workspaces. This commit fixes this regression and makes the handler a bit easier to reason about while also removing unnecessary early return statements which prevent notifcations from getting sent to subscribers.