You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using global mouse event capture, some mouse movement events are not suppressed even if I set the handled flag to true during dragging.
In MouseListener, the member m_PreviousPosition is the root cause of this problem.
It looks like the callback will get zero movement from the windows system, but if we can't suppress this event it will still make the mouse move.
I wonder why it is necessary to check for zero motion in the callback? Isn't the design supposed to let the users of the library decide whether to deal with it or not?
I wrote a small program to demonstrate this problem.
The text was updated successfully, but these errors were encountered:
When using global mouse event capture, some mouse movement events are not suppressed even if I set the handled flag to true during dragging.
In MouseListener, the member m_PreviousPosition is the root cause of this problem.
It looks like the callback will get zero movement from the windows system, but if we can't suppress this event it will still make the mouse move.
I wonder why it is necessary to check for zero motion in the callback? Isn't the design supposed to let the users of the library decide whether to deal with it or not?
I wrote a small program to demonstrate this problem.
The text was updated successfully, but these errors were encountered: