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
4b5311c7
Commit
4b5311c7
authored
May 29, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
May 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Remove now unnecessary wine_create_desktop entry.
parent
4fcbbf8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
desktop.c
programs/explorer/desktop.c
+0
-15
No files found.
programs/explorer/desktop.c
View file @
4b5311c7
...
...
@@ -771,20 +771,6 @@ static LRESULT WINAPI desktop_wnd_proc( HWND hwnd, UINT message, WPARAM wp, LPAR
return
desktop_orig_wndproc
(
hwnd
,
message
,
wp
,
lp
);
}
/* create the desktop and the associated driver window, and make it the current desktop */
static
BOOL
create_desktop
(
HMODULE
driver
,
const
WCHAR
*
name
,
unsigned
int
width
,
unsigned
int
height
)
{
BOOL
ret
=
TRUE
;
BOOL
(
CDECL
*
create_desktop_func
)(
unsigned
int
,
unsigned
int
);
if
(
driver
)
{
create_desktop_func
=
(
void
*
)
GetProcAddress
(
driver
,
"wine_create_desktop"
);
if
(
create_desktop_func
)
ret
=
create_desktop_func
(
width
,
height
);
}
return
ret
;
}
/* parse the desktop size specification */
static
BOOL
parse_size
(
const
WCHAR
*
size
,
unsigned
int
*
width
,
unsigned
int
*
height
)
{
...
...
@@ -1113,7 +1099,6 @@ void manage_desktop( WCHAR *arg )
desktop_orig_wndproc
=
(
WNDPROC
)
SetWindowLongPtrW
(
hwnd
,
GWLP_WNDPROC
,
(
LONG_PTR
)
desktop_wnd_proc
);
if
(
!
using_root
)
using_root
=
!
create_desktop
(
graphics_driver
,
name
,
width
,
height
);
SendMessageW
(
hwnd
,
WM_SETICON
,
ICON_BIG
,
(
LPARAM
)
LoadIconW
(
0
,
MAKEINTRESOURCEW
(
OIC_WINLOGO
)));
if
(
name
)
set_desktop_window_title
(
hwnd
,
name
);
SetWindowPos
(
hwnd
,
0
,
GetSystemMetrics
(
SM_XVIRTUALSCREEN
),
GetSystemMetrics
(
SM_YVIRTUALSCREEN
),
...
...
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