On 03/19/12 06:57, Peeter Vois wrote:
> Hi, thanks for the prompt reply.
> 
> Meanwhile I have been digging around and found the solution: In Cocoa the 
> borderless window is not meant to be used for keyboard input, so by default 
> the window will not get keyboard focus at all. To override it people are 
> reimplementing one method to enable keyboard focus. I have changed the file 
> src/Fl_cocoa.mm and addet into @implementation FLWindow the method
> 
> - (BOOL)canBecomeKeyWindow {
>    return YES;
> }
> 
> I start using it and if I'll get new trouble somewhere because of it then 
> I'll let you know.

        Sounds great!

        Please submit this as an STR so that it gets addressed:
        http://www.fltk.org/applications/str.php?U+P0+S-2+C0+I0+E0+Q

        By submitting the STR, you'll be kept informed of when it's
        fixed, and to which version of FLTK.

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

Reply via email to