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:
Jeremy Huddleston Sequoia 2021-02-21 21:49:58 -08:00
parent 3c3680c366
commit 8890c44a75
1 changed files with 1 additions and 2 deletions

View File

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