summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-02-18 16:05:34 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-02-18 22:32:14 -0800
commit72a39dccf99191fbfbb4b399c446fd017d55f24e (patch)
tree3e6acd50c24ec868a7f916a0292f730ed26f791f /hw
parent7e2875035800887f3f41f75cba4299088daf939a (diff)
xquartz: Remove a workaround for AppKit versions older than Lion
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xquartz/X11Controller.m11
1 files changed, 1 insertions, 10 deletions
diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m
index c0604b773..ad7a7871e 100644
--- a/hw/xquartz/X11Controller.m
+++ b/hw/xquartz/X11Controller.m
@@ -785,16 +785,7 @@ extern char *bundle_id_prefix;
BOOL pbproxy_active =
[NSApp prefs_get_boolean:@PREFS_SYNC_PB default:YES];
- // Remove preferences from the GUI which are not supported
- // TODO: Change 1117 to NSAppKitVersionNumber10_7 when it is defined
- if (scroll_in_device_direction && NSAppKitVersionNumber < 1117) {
- [scroll_in_device_direction removeFromSuperview];
- scroll_in_device_direction = nil;
- }
- else {
- [scroll_in_device_direction setIntValue:
- XQuartzScrollInDeviceDirection];
- }
+ [scroll_in_device_direction setIntValue:XQuartzScrollInDeviceDirection];
[fake_buttons setIntValue:darwinFakeButtons];
[enable_keyequivs setIntValue:XQuartzEnableKeyEquivalents];