mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-07 06:18:03 +02: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 38cbd13490)
This commit is contained in:
parent
8c9b183683
commit
b0a093c8a9
1 changed files with 2 additions and 1 deletions
|
|
@ -649,6 +649,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
|
||||||
|
|
||||||
[depth selectItemAtIndex:[depth indexOfItemWithTag:[NSApp prefs_get_integer:@PREFS_DEPTH default:-1]]];
|
[depth selectItemAtIndex:[depth indexOfItemWithTag:[NSApp prefs_get_integer:@PREFS_DEPTH default:-1]]];
|
||||||
// TODO: Add 256 color support
|
// TODO: Add 256 color support
|
||||||
|
if([depth indexOfItemWithTag:8] != -1)
|
||||||
[depth removeItemAtIndex:[depth indexOfItemWithTag:8]];
|
[depth removeItemAtIndex:[depth indexOfItemWithTag:8]];
|
||||||
|
|
||||||
[enable_fullscreen setIntValue:!quartzEnableRootless];
|
[enable_fullscreen setIntValue:!quartzEnableRootless];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue