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:
Jeremy Huddleston Sequoia 2021-02-21 21:49:58 -08:00
parent 839b49ac05
commit 9d329a0fb1
1 changed files with 1 additions and 2 deletions

View File

@ -1541,8 +1541,7 @@ handle_mouse:
}
#endif
if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_7 &&
XQuartzScrollInDeviceDirection &&
if (XQuartzScrollInDeviceDirection &&
[e isDirectionInvertedFromDevice]) {
deltaX *= -1;
deltaY *= -1;