Author: jimtabor
Date: Tue Nov 4 05:21:41 2014
New Revision: 65238
URL:
http://svn.reactos.org/svn/reactos?rev=65238&view=rev
Log:
[NtUser]
- Capture is already set. Trouble shooting CORE-8299 and CORE-3247.
- Correct spellings and adding traces.
Modified:
trunk/reactos/win32ss/user/ntuser/focus.c
Modified: trunk/reactos/win32ss/user/ntuser/focus.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/focus.…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/focus.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/focus.c [iso-8859-1] Tue Nov 4 05:21:41 2014
@@ -25,6 +25,9 @@
return (gppiLockSFW || guSFWLockCount);
}
+/*
+ Get capture window via foreground Queue.
+*/
HWND FASTCALL
IntGetCaptureWindow(VOID)
{
@@ -701,7 +704,7 @@
(Wnd && !VerifyWnd(Wnd)) ||
ThreadQueue != pti->MessageQueue )
{
- ERR("SetActiveWindow: Summery ERROR, active state changed!\n");
+ ERR("SetActiveWindow: Summary ERROR, active state changed!\n");
return FALSE;
}
@@ -937,6 +940,7 @@
{
if (Window->head.pti->MessageQueue != ThreadQueue)
{
+ ERR("Window Thread dos not match Current!\n");
return NULL;
}
}
@@ -957,13 +961,10 @@
{
if (ThreadQueue->MenuOwner && Window) ThreadQueue->QF_flags |=
QF_CAPTURELOCKED;
- //co_IntPostOrSendMessage(hWndPrev, WM_CAPTURECHANGED, 0, (LPARAM)hWnd);
co_IntSendMessage(hWndPrev, WM_CAPTURECHANGED, 0, (LPARAM)hWnd);
ThreadQueue->QF_flags &= ~QF_CAPTURELOCKED;
}
-
- ThreadQueue->spwndCapture = Window;
if (hWnd == NULL) // Release mode.
{