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
b4b817b9
Commit
b4b817b9
authored
Jan 30, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Only wait for the desktop process when necessary.
parent
82b38139
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
driver.c
dlls/user32/driver.c
+7
-0
win.c
dlls/user32/win.c
+0
-3
No files found.
dlls/user32/driver.c
View file @
b4b817b9
...
...
@@ -57,8 +57,15 @@ static HMODULE load_desktop_driver( HWND hwnd )
WCHAR
key
[(
sizeof
(
key_pathW
)
+
sizeof
(
displayW
))
/
sizeof
(
WCHAR
)
+
40
];
UINT
guid_atom
=
HandleToULong
(
GetPropW
(
hwnd
,
display_device_guid_propW
));
USER_CheckNotLock
();
strcpy
(
driver_load_error
,
"The explorer process failed to start."
);
/* default error */
if
(
!
guid_atom
)
{
SendMessageW
(
hwnd
,
WM_NULL
,
0
,
0
);
/* wait for the desktop process to be ready */
guid_atom
=
HandleToULong
(
GetPropW
(
hwnd
,
display_device_guid_propW
));
}
memcpy
(
key
,
key_pathW
,
sizeof
(
key_pathW
)
);
if
(
!
GlobalGetAtomNameW
(
guid_atom
,
key
+
strlenW
(
key
),
40
))
return
0
;
strcatW
(
key
,
displayW
);
...
...
dlls/user32/win.c
View file @
b4b817b9
...
...
@@ -2086,9 +2086,6 @@ HWND WINAPI GetDesktopWindow(void)
SERVER_END_REQ
;
}
/* wait for the desktop process to be ready */
SendMessageW
(
thread_info
->
top_window
,
WM_NULL
,
0
,
0
);
if
(
!
thread_info
->
top_window
||
!
USER_Driver
->
pCreateDesktopWindow
(
thread_info
->
top_window
))
ERR
(
"failed to create desktop window
\n
"
);
...
...
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