summaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtMacWindow.m
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-27 03:53:41 +0200
committerSven Gothel <[email protected]>2012-04-27 03:53:41 +0200
commit8b0aa0e7653f74e713880e77f9afbe59caff38f0 (patch)
tree56d2224c4650a38e6ef4c7beaa5461c8d09948d2 /src/newt/native/NewtMacWindow.m
parentbe59d561fd6ab8aa659e85cd962d38fffd1acb0a (diff)
Bug 556: Newt Mouse Synthetic Drag Event: Clear state if mouse enters/leaves window.
Since we cannot guarantee to have the pressed button information when receiving the mouse move event, we synthesize the dragged event (move while mouse button pressed). To simplify the situation and have a compromise, we clear the mouse pressed states when mouse enters or leaves the window to remove the dragged events at re-entering. This seems more sensible, since dragging after re-entering the mouse shall not be expected.
Diffstat (limited to 'src/newt/native/NewtMacWindow.m')
0 files changed, 0 insertions, 0 deletions