Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac/Gtk: Ensure control gets Got/LostFocus events when window Got/LostFocus is triggered #2512

Conversation

cwensley
Copy link
Member

@cwensley cwensley commented Jul 4, 2023

Mac: Fixes Control.Got/LostFocus to fire when the window gets/loses focus.
Mac: Ensures Control.HasFocus only returns true when the window has focus (is key).
Gtk: Fixes Window.HasFocus to ensure it returns whether the window is the topmost window.

…tFocus is triggered

Mac: Fixes Control.Got/LostFocus to fire when the window gets/loses focus.
Mac: Ensures Control.HasFocus only returns true when the window has focus (is key).
Gtk: Fixes Window.HasFocus to ensure it returns whether the window is the topmost window.
@cwensley cwensley added the bug label Jul 4, 2023
@cwensley cwensley added this to the 2.8.0 milestone Jul 4, 2023
@cwensley cwensley merged commit be8742e into picoe:develop Jul 4, 2023
@cwensley cwensley deleted the curtis/mac-gtk-got-lost-focus-along-with-window-focus branch July 4, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant