mirror of https://github.com/fltk/fltk
canBecomeMainWindow() is not absolutely necessary, but it makes
the window decorations behave better by properly graying out windows that will have their input stolen by a modal one. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
7057e56c28
commit
5e9624286a
|
@ -680,9 +680,6 @@ void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data)
|
|||
return !(w->tooltip_window() || w->menu_window());
|
||||
}
|
||||
|
||||
// TODO see if we really need a canBecomeMainWindow ...
|
||||
#if 0
|
||||
|
||||
- (BOOL)canBecomeMainWindow
|
||||
{
|
||||
if (Fl::modal_ && (Fl::modal_ != w))
|
||||
|
@ -691,7 +688,6 @@ void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data)
|
|||
|
||||
return !(w->tooltip_window() || w->menu_window());
|
||||
}
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in New Issue