Skip to content

Conversation

andrewrynhard
Copy link

@andrewrynhard andrewrynhard commented Mar 17, 2025

Updated the add_mouse_button_class_method! macro.
Now, when $foc is true, the code calls makeFirstResponder on the window to ensure the view becomes the first responder.
This change enables the plugin view to properly capture keyboard input on macOS.

Credit to @justinfrankel. See #202.

Updated the `add_mouse_button_class_method!` macro.
Now, when `$foc` is true, the code calls `makeFirstResponder` on the window to ensure the view becomes the first responder.
This change enables the plugin view to properly capture keyboard input on macOS.
@andrewrynhard
Copy link
Author

Fixes #191.

@andrewrynhard
Copy link
Author

While we are at it, I believe I am seeing the same issue in Windows. Is that expected? Where would I look if I wanted to fix that?

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