Skip to content

fix(panel): do not steal clicks under system calendar flyouts - #13

Closed
momijineko wants to merge 1 commit into
Bencibr:mainfrom
momijineko:cursor/fix-overlay-click-steal-3d0d
Closed

momijineko wants to merge 1 commit into
Bencibr:mainfrom
momijineko:cursor/fix-overlay-click-steal-3d0d

Conversation

@momijineko

Copy link
Copy Markdown
Contributor

Windows click-away treated any cursor inside the bubble/panel rectangle as ours, so a covering Shell calendar still armed pet clicks and left QuotaStrip live under the flyout. Gate hits on WindowFromPoint ownership, dismiss when a foreign window owns the point, and yield HWND_TOPMOST below intersecting foreign topmost windows on show.

macOS drops the panel to NSMainMenuWindowLevel so Notification Center keeps hit-testing. Linux re-asserts always_on_top(false) and shares focus-loss dismiss so desktop popovers clear the panel instead of leaving it armed.

Windows click-away treated any cursor inside the bubble/panel rectangle as
ours, so a covering Shell calendar still armed pet clicks and left QuotaStrip
live under the flyout. Gate hits on WindowFromPoint ownership, dismiss when a
foreign window owns the point, and yield HWND_TOPMOST below intersecting
foreign topmost windows on show.

macOS drops the panel to NSMainMenuWindowLevel so Notification Center keeps
hit-testing. Linux re-asserts always_on_top(false) and shares focus-loss
dismiss so desktop popovers clear the panel instead of leaving it armed.

Co-authored-by: 紅葉猫 <momijineko@users.noreply.github.com>
@momijineko momijineko closed this Nov 20, 2026
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

Successfully merging this pull request may close these issues.

2 participants