picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.55k stars 323 forks source link

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

Closed cwensley closed 1 year ago

cwensley commented 1 year ago

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.