x11drv: Don't send an invalid WM_NCCREATE to the desktop window.

This commit is contained in:
Alexandre Julliard 2006-03-07 15:11:18 +01:00
parent 3d531f1bb5
commit 116aaa1694

View File

@ -80,8 +80,6 @@ static DWORD CALLBACK desktop_thread( LPVOID driver_data )
XMapWindow( display, root_window );
wine_tsx11_unlock();
SendMessageW( hwnd, WM_NCCREATE, 0, 0 /* should be CREATESTRUCT */ );
while (GetMessageW( &msg, hwnd, 0, 0 )) DispatchMessageW( &msg );
return 0;
}