Author: sedwards
Date: Wed Aug 6 05:34:36 2008
New Revision: 35139
URL:
http://svn.reactos.org/svn/reactos?rev=35139&view=rev
Log:
Match Wine behavior for AllowSetForegroundWindow
Only show the debug message once
Modified:
trunk/reactos/dll/win32/user32/windows/window.c
Modified: trunk/reactos/dll/win32/user32/windows/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/w…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] Wed Aug 6 05:34:36 2008
@@ -46,8 +46,13 @@
BOOL STDCALL
AllowSetForegroundWindow(DWORD dwProcessId)
{
- UNIMPLEMENTED;
- return(FALSE);
+ static BOOL show_message = TRUE;
+ if (show_message)
+ {
+ UNIMPLEMENTED;
+ show_message = FALSE;
+ }
+ return TRUE;
}