mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 15:10:02 +01:00
xquartz: Remove a workaround for AppKit versions older than Lion
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
7e28750358
commit
72a39dccf9
1 changed files with 1 additions and 10 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue