Author: jimtabor
Date: Fri Jul 4 12:55:56 2008
New Revision: 34294
URL:
http://svn.reactos.org/svn/reactos?rev=34294&view=rev
Log:
Use PostOrSend instead of just Send. Works much better.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/focus.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/focus.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/focus.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/focus.c [iso-8859-1] Fri Jul 4 12:55:56
2008
@@ -111,7 +111,7 @@
if (cWindow && (IntGetWndThreadId(cWindow) == OldTID))
{ // FALSE if the window is being deactivated,
// ThreadId that owns the window being activated.
- co_IntSendMessage(*phWnd, WM_ACTIVATEAPP, FALSE, (LPARAM)NewTID);
+ co_IntPostOrSendMessage(*phWnd, WM_ACTIVATEAPP, FALSE,
(LPARAM)NewTID);
}
}
for (phWnd = List; *phWnd; ++phWnd)
@@ -120,7 +120,7 @@
if (cWindow && (IntGetWndThreadId(cWindow) == NewTID))
{ // TRUE if the window is being activated,
// ThreadId that owns the window being deactivated.
- co_IntSendMessage(*phWnd, WM_ACTIVATEAPP, TRUE, (LPARAM)OldTID);
+ co_IntPostOrSendMessage(*phWnd, WM_ACTIVATEAPP, TRUE,
(LPARAM)OldTID);
}
}
ExFreePool(List);