Removed X11 display parameter from the config file, this is more
confusing than useful.
This commit is contained in:
parent
d4baf37085
commit
a4330f9363
|
@ -237,7 +237,6 @@ static void setup_options(void)
|
|||
{
|
||||
char buffer[MAX_PATH+16];
|
||||
HKEY hkey, appkey = 0;
|
||||
DWORD count;
|
||||
|
||||
if (RegCreateKeyExA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine\\Config\\x11drv", 0, NULL,
|
||||
REG_OPTION_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL ))
|
||||
|
@ -262,19 +261,6 @@ static void setup_options(void)
|
|||
}
|
||||
}
|
||||
|
||||
/* get the display name */
|
||||
|
||||
strcpy( buffer, "DISPLAY=" );
|
||||
count = sizeof(buffer) - 8;
|
||||
if (!RegQueryValueExA( hkey, "display", 0, NULL, buffer + 8, &count ))
|
||||
{
|
||||
const char *display_name = getenv( "DISPLAY" );
|
||||
if (display_name && strcmp( buffer, display_name ))
|
||||
MESSAGE( "x11drv: Warning: $DISPLAY variable ignored, using '%s' specified in config file\n",
|
||||
buffer + 8 );
|
||||
putenv( strdup(buffer) );
|
||||
}
|
||||
|
||||
if (!get_config_key( hkey, appkey, "Desktop", buffer, sizeof(buffer) ))
|
||||
{
|
||||
/* Imperfect validation: If Desktop=N, then we don't turn on
|
||||
|
|
|
@ -116,8 +116,6 @@ WINE REGISTRY Version 2
|
|||
"PerfectGraphics" = "N"
|
||||
; Color depth to use on multi-depth screens
|
||||
;;"ScreenDepth" = "16"
|
||||
; Name of X11 display to use
|
||||
;;"Display" = ":0.0"
|
||||
; Allow the window manager to manage created windows
|
||||
"Managed" = "Y"
|
||||
; Use a desktop window of 640x480 for Wine
|
||||
|
|
Loading…
Reference in New Issue