mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 02:23:37 +00:00
explorer: Allow the driver to override the desktop winproc at creation time.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e0e4f9bbcd
commit
e6fdea726a
|
@ -978,8 +978,8 @@ void manage_desktop( WCHAR *arg )
|
|||
CreateWindowExW( 0, messageW, NULL, WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,
|
||||
0, 0, 100, 100, 0, 0, 0, NULL );
|
||||
|
||||
using_root = !desktop || !create_desktop( graphics_driver, name, width, height );
|
||||
SetWindowLongPtrW( hwnd, GWLP_WNDPROC, (LONG_PTR)desktop_wnd_proc );
|
||||
using_root = !desktop || !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),
|
||||
|
|
Loading…
Reference in a new issue