mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 08:15:24 +00:00
XQuartz: Sanity-check the removal of the 256-color option
Fixes the 'one-time-preferences' bug in 2.2.0_rc1 (cherry picked from commit 38cbd13490fc21724e8eef0ec7e1a20a9cc2e39d)
This commit is contained in:
@@ -649,7 +649,8 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
|
||||
|
||||
[depth selectItemAtIndex:[depth indexOfItemWithTag:[NSApp prefs_get_integer:@PREFS_DEPTH default:-1]]];
|
||||
// TODO: Add 256 color support
|
||||
[depth removeItemAtIndex:[depth indexOfItemWithTag:8]];
|
||||
if([depth indexOfItemWithTag:8] != -1)
|
||||
[depth removeItemAtIndex:[depth indexOfItemWithTag:8]];
|
||||
|
||||
[enable_fullscreen setIntValue:!quartzEnableRootless];
|
||||
// TODO: Add fullscreen support
|
||||
|
||||
Reference in New Issue
Block a user