Initialise tid in WIN_CreateDesktopWindow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

This makes the Xilinx command line tools run with ttydrv
-- 
Uwe Bonnes                bon@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;


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux