xquartz: Remove a check for NSAppKitVersionNumber >= NSAppKitVersionNumber10_7
This check is always true on our supported systems. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> (cherry picked from commit 5ae47a9d579e8cb0fbe938455faea53ed75d7098)
This commit is contained in:
parent
3c3680c366
commit
8890c44a75
|
@ -1528,8 +1528,7 @@ handle_mouse:
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_7 &&
|
if (XQuartzScrollInDeviceDirection &&
|
||||||
XQuartzScrollInDeviceDirection &&
|
|
||||||
[e isDirectionInvertedFromDevice]) {
|
[e isDirectionInvertedFromDevice]) {
|
||||||
deltaX *= -1;
|
deltaX *= -1;
|
||||||
deltaY *= -1;
|
deltaY *= -1;
|
||||||
|
|
Loading…
Reference in New Issue