No description
EventControllerFocus::connect_leave was firing whenever the pointer left the launcher surface because Hyprland's focus-follows-mouse hands keyboard focus back to the window under the cursor (OnDemand mode). Fix: introduce a full-screen transparent backdrop window at Layer::Top. The launcher sits at Layer::Overlay (above it), so the backdrop never intercepts launcher clicks. Clicking anywhere outside the launcher hits the backdrop and closes both windows via a shared Rc<dyn Fn()> callback. The launcher returns to KeyboardMode::Exclusive so the compositor can no longer steal focus on pointer leave. EventControllerFocus is removed. |
||
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||