From 74c43744f4cefa081b95314fb66c5b24e7ec3db2 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Wed, 6 Aug 2008 10:34:36 +0000 Subject: [PATCH] Match Wine behavior for AllowSetForegroundWindow Only show the debug message once svn path=/trunk/; revision=35139 --- reactos/dll/win32/user32/windows/window.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/user32/windows/window.c b/reactos/dll/win32/user32/windows/window.c index 7b97c8a55b8..f598c38f999 100644 --- a/reactos/dll/win32/user32/windows/window.c +++ b/reactos/dll/win32/user32/windows/window.c @@ -46,8 +46,13 @@ User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength) BOOL STDCALL AllowSetForegroundWindow(DWORD dwProcessId) { - UNIMPLEMENTED; - return(FALSE); + static BOOL show_message = TRUE; + if (show_message) + { + UNIMPLEMENTED; + show_message = FALSE; + } + return TRUE; }