Initialise tid in WIN_CreateDesktopWindow

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sun Apr 13 12:14:06 CDT 2003


Changelog:
	windows/win.c: WIN_CreateDesktopWindow
	Initialise pWndDesktop->tid

This makes the Xilinx command line tools run with ttydrv
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/windows/win.c
===================================================================
RCS file: /home/wine/wine/windows/win.c,v
retrieving revision 1.216
diff -u -r1.216 win.c
--- wine/windows/win.c	14 Mar 2003 04:11:17 -0000	1.216
+++ wine/windows/win.c	13 Apr 2003 17:08:50 -0000
@@ -753,8 +753,8 @@
     if (!pWndDesktop) return FALSE;
     hwndDesktop = pWndDesktop->hwndSelf;
 
-    pWndDesktop->tid               = 0;  /* nobody owns the desktop */
-    pWndDesktop->parent            = 0;
+    pWndDesktop->tid               = GetCurrentThreadId();
+    pWndDesktop->parent            = 0;  /* nobody owns the desktop */
     pWndDesktop->owner             = 0;
     pWndDesktop->class             = class;
     pWndDesktop->text              = NULL;



More information about the wine-patches mailing list