mirror of
https://github.com/fltk/fltk.git
synced 2026-08-18 08:58:25 +08:00
Mac OS: canBecomeKeyWindow returns NO also for menu windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -566,7 +566,7 @@ static void do_timer(CFRunLoopTimerRef timer, void* data)
|
||||
}
|
||||
- (BOOL)canBecomeKeyWindow
|
||||
{
|
||||
return !w->tooltip_window();
|
||||
return !(w->tooltip_window() || w->menu_window());
|
||||
}
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user