diff -up hw/xquartz/X11Application.m.baddeltas hw/xquartz/X11Application.m
|
old
|
new
|
|
| 1015 | 1015 | location.x += frame.origin.x; |
| 1016 | 1016 | location.y += frame.origin.y; |
| 1017 | 1017 | lastpt = location; |
| 1018 | | } else if(isTabletEvent) { |
| | 1018 | } else if(isTabletEvent || [e type] == NSOtherMouseDown || [e type] == NSOtherMouseUp) { |
| 1019 | 1019 | // NSEvents for tablets are not consistent wrt deltaXY between events, so we cannot rely on that |
| 1020 | 1020 | // Thus tablets will be subject to the warp-pointer bug worked around by the delta, but tablets |
| 1021 | 1021 | // are not normally used in cases where that bug would present itself, so this is a fair tradeoff |
| 1022 | 1022 | // <rdar://problem/7111003> deltaX and deltaY are incorrect for NSMouseMoved, NSTabletPointEventSubtype |
| 1023 | 1023 | // http://xquartz.macosforge.org/trac/ticket/288 |
| | 1024 | // The deltaXY for middle click events also appear erroneous during fast user switching |
| 1024 | 1025 | location = [e locationInWindow]; |
| 1025 | 1026 | lastpt = location; |
| 1026 | 1027 | } else { |