I’m having problems with jumps in the vertical mouse position while dragging.
I did lots of debug prints and came up with this new bit of code in juce_mac_Windowing.cpp:
p.x = where.h;
p.y = where.v;
HIPointConvert (&p, kHICoordSpaceScreenPixel, 0,
const int x = p.x;
const int y = p.y;
The values being fed into HIPointConvert are OK; they behave as expected. The y values coming out of HIPointConvert sometimes jump by 20 or 30 pixels.
So I’m a little stumped.