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>
This commit is contained in:
parent
839b49ac05
commit
9d329a0fb1
|
@ -1541,8 +1541,7 @@ handle_mouse:
|
|||
}
|
||||
#endif
|
||||
|
||||
if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_7 &&
|
||||
XQuartzScrollInDeviceDirection &&
|
||||
if (XQuartzScrollInDeviceDirection &&
|
||||
[e isDirectionInvertedFromDevice]) {
|
||||
deltaX *= -1;
|
||||
deltaY *= -1;
|
||||
|
|
Loading…
Reference in New Issue