DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2802
Version: 1.3-current


If I add the following on OS X:
- (BOOL)canBecomeKeyWindow
{
  if (Fl::modal_ && (Fl::modal_ != w))
    return NO;  // prevent the caption to be redrawn as active on click
                //  when another modal window is currently the key win

  return !(w->tooltip_window() || w->menu_window());
}

I can now have my window caption staying disabled while another modal
window has the focus, so it works fine.

Now what's the benefit of adding a canBecomeMainWindow as it seems to work
fine with only the key window mod ?
When I implement it as well I can see no change, did I miss something ?


Link: http://www.fltk.org/str.php?L2802
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to