Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
78b86e34
Commit
78b86e34
authored
12 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
explorer: Remove support for the old-style X11 desktop configuration key.
parent
900b5f4b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
programs/explorer/desktop.c
+0
-22
0 additions, 22 deletions
programs/explorer/desktop.c
with
0 additions
and
22 deletions
programs/explorer/desktop.c
+
0
−
22
View file @
78b86e34
...
...
@@ -255,7 +255,6 @@ static void set_desktop_window_title( HWND hwnd, const WCHAR *name )
/* main desktop management function */
void
manage_desktop
(
WCHAR
*
arg
)
{
static
const
WCHAR
defaultW
[]
=
{
'D'
,
'e'
,
'f'
,
'a'
,
'u'
,
'l'
,
't'
,
0
};
static
const
WCHAR
messageW
[]
=
{
'M'
,
'e'
,
's'
,
's'
,
'a'
,
'g'
,
'e'
,
0
};
MSG
msg
;
HWND
hwnd
,
msg_hwnd
;
...
...
@@ -288,27 +287,6 @@ void manage_desktop( WCHAR *arg )
{
if
(
!
get_default_desktop_size
(
name
,
&
width
,
&
height
))
width
=
height
=
0
;
}
else
/* check for the X11 driver key for backwards compatibility (to be removed) */
{
static
const
WCHAR
desktopW
[]
=
{
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
x11_keyW
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'X'
,
'1'
,
'1'
,
' '
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'r'
,
0
};
HKEY
hkey
;
WCHAR
buffer
[
64
];
DWORD
size
=
sizeof
(
buffer
);
width
=
height
=
0
;
/* @@ Wine registry key: HKCU\Software\Wine\X11 Driver */
if
(
!
RegOpenKeyW
(
HKEY_CURRENT_USER
,
x11_keyW
,
&
hkey
))
{
if
(
!
RegQueryValueExW
(
hkey
,
desktopW
,
0
,
NULL
,
(
LPBYTE
)
buffer
,
&
size
))
{
name
=
defaultW
;
if
(
!
parse_size
(
buffer
,
&
width
,
&
height
))
width
=
height
=
0
;
}
RegCloseKey
(
hkey
);
}
}
if
(
name
&&
width
&&
height
)
xwin
=
create_desktop
(
name
,
width
,
height
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment