Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a4330f93
Commit
a4330f93
authored
Dec 05, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed X11 display parameter from the config file, this is more
confusing than useful.
parent
d4baf370
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
x11drv_main.c
dlls/x11drv/x11drv_main.c
+0
-14
config
documentation/samples/config
+0
-2
No files found.
dlls/x11drv/x11drv_main.c
View file @
a4330f93
...
...
@@ -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
...
...
documentation/samples/config
View file @
a4330f93
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment