diff options
| author | Pierre Ossman <ossman@cendio.se> | 2014-06-11 14:12:29 +0000 |
|---|---|---|
| committer | Pierre Ossman <ossman@cendio.se> | 2014-06-11 14:12:29 +0000 |
| commit | 5e9624286ae76237cb1a73622db999c77b611f2d (patch) | |
| tree | f39ac19888b3abc12a63efd8a6825c28de10336b /src | |
| parent | 7057e56c28f7c08d45521fbc29efaf5a4913bf1a (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index a60b61a46..9e2979126 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -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 |
