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

[STR New]

Link: http://www.fltk.org/str.php?L2493
Version: 2.0-feature


The attached should completely wrap up this bug (Jaromir's second patch
missed an event).
Further, it extends ANY_BUTTON to cover 8 buttons (as was originally
intended, based on the comment). It also cleans up a few "magic numbers"
inside the win32 and osx implementations - although interestingly enough,
these "magic numbers" were 0xff000000 (i.e. an 8-button mask) as opposed
to the #define'd 0x7f000000 (a 7-button mask) that was/is used in the
src/run.cxx implementation. 
Amusingly, svn blame and then svn log reveal "Fast-fix for problem
reported by Gordon Kindlmann"; this seemed to render FLTK2 on Mac OS X
broken (as it wouldn't compile).

However, there *was* a mask in src/osx/run.cxx that seemed to be a little
wrong; perhaps that was causing this problem - although at the moment,
FLTK2 doesn't build on OS X as it uses Carbon, a library completely
unavailable to 64-bit systems.
In any case, I will check this out in the coming days, but I digress.

This patch also completely fixes the problems described in STR #2318.

Jaromir, could you please test this patch (as rigorously as you can) and
tell me how it works?
To be honest, I'm still not convinced that this is the correct and/or best
solution for this problem - although I'll feel that way until X decide to
document what they do with multiple keyboard layouts!


Link: http://www.fltk.org/str.php?L2493
Version: 2.0-feature

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

Reply via email to