Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
78b86e34
Commit
78b86e34
authored
Oct 22, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Remove support for the old-style X11 desktop configuration key.
parent
900b5f4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
desktop.c
programs/explorer/desktop.c
+0
-22
No files found.
programs/explorer/desktop.c
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
);
...
...
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