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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 7 08:16:42 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 116aaa169479a5e42aee6adcf3cf7b4d87beb18d
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=116aaa169479a5e42aee6adcf3cf7b4d87beb18d

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Mar  7 15:11:18 2006 +0100

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

---

 dlls/x11drv/desktop.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/x11drv/desktop.c b/dlls/x11drv/desktop.c
index ccaf9f9..9081235 100644
--- a/dlls/x11drv/desktop.c
+++ b/dlls/x11drv/desktop.c
@@ -80,8 +80,6 @@ static DWORD CALLBACK desktop_thread( LP
     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;
 }




More information about the wine-cvs mailing list