Skip to content

Fix macOS click-through for transparent shaped windows#4

Open
iman-zamani wants to merge 1 commit intotexus:masterfrom
iman-zamani:master
Open

Fix macOS click-through for transparent shaped windows#4
iman-zamani wants to merge 1 commit intotexus:masterfrom
iman-zamani:master

Conversation

@iman-zamani
Copy link
Contributor

Replaced static hit-testing with a dynamic 60Hz NSTimer that checks mouse position. It updates [NSWindow setIgnoresMouseEvents:] based on the image's alpha channel, allowing clicks to pass through transparent pixels to underlying applications.

Replaced static hit-testing with a dynamic 60Hz NSTimer that checks mouse position. It updates [NSWindow setIgnoresMouseEvents:] based on the image's alpha channel, allowing clicks to pass through transparent pixels to underlying applications.
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.

1 participant