| Newsgroups |
gmane.comp.emulators.winex.cvs |
| Message-ID |
<[email protected]> |
Subject: winex/dlls/user message.c,1.9,1.10Update of /var/lib/cvsd/cvsroot/winex/dlls/user
In directory agravaine:/tmp/cvs-serv6854/dlls/user
Modified Files:
message.c
Log Message:
- ensure the two parts of SetForegroundWindow() are run by the appropriate window threads
Index: message.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/user/message.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- message.c 27 Mar 2007 21:06:11 -0000 1.9
+++ message.c 30 Mar 2007 18:59:15 -0000 1.10
@@ -19,6 +19,7 @@
#include "spy.h"
#include "user.h"
#include "win.h"
+#include "winpos.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msg);
@@ -1043,6 +1044,9 @@
return (LRESULT)SetWindowLongW( hwnd, wparam, lparam );
case WM_WINE_ENABLEWINDOW:
return EnableWindow( hwnd, wparam );
+ case WM_WINE_SETFOREGROUNDWINDOW:
+ if (hwnd == GetDesktopWindow()) return 0;
+ return WINPOS_SetActiveWindow ((HWND)wparam, FALSE, TRUE, TRUE);
default:
FIXME( "unknown internal message %x\n", msg );
return 0;