> On Fri, Apr 29, 2011 at 2:21 PM, Evan Laforge <[email protected]> wrote: > > Here's another one I just found: > > > > When arrow keys are pressed on my macbook, Fl::event_state() claims > > numlock is down. =A0This happens with the current HEAD. > > I think I got this one. Simply delete this line from > Fl_cocoa.mm:/mods_to_e_state: > > if ( mods & NSNumericPadKeyMask ) state |=3D FL_NUM_LOCK; > > The documentation at > http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Appli= > cationKit/Classes/NSEvent_Class/Reference/Reference.html > says that NSNumericPadKeyMask indicates that the key is on the numeric > keypad, *not* that NumLock is down. >
This is now repaired in r.8628. Thanks for the hint. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
