Hello,

I am experiencing issue of getting keyboard focus to borderless 
Fl_Double_Window under Mac OS X v 10.5.8. The window does have one 
Fl_Text_Input widget. I am unable to enter text there. If I make the window to 
have border, it will have the keyboard focus and I can enter text into the 
entry.

the test file proov.cxx is:
---
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Input.H>
#include <FL/Fl.H>

int main( void )
{
  Fl_Double_Window *w = new Fl_Double_Window( 368, 151 );
  new Fl_Input( 40, 40, 285, 28 );
  w->clear_border();
  w->end();
  w->show();
  return( Fl::run() );
}
---
and I compiled it with
fltk-config --compile proov.cxx

I have tested it on W7 (fltk 1.3.0) and it gets focus
I have tested it on Mac OS X (fltk 1.3.0) and it does not get focus
I have tested it on Linux (fltk 1.1.10) and it gets focus

Please help how can I get the focus working on Mac. Thanx.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to