Author: jimtabor
Date: Sat Oct 10 07:15:43 2009
New Revision: 43353
URL: http://svn.reactos.org/svn/reactos?rev=43353&view=rev
Log:
- Do not test for IMM start up from client info, instead do not attach to system threads. Thanks Tommy Ward.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/input.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/input.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/input.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/input.c [iso-8859-1] Sat Oct 10 07:15:43 2009
@@ -1314,9 +1314,9 @@
/* Can not be the same thread.*/
if (pti == ptiTo) return FALSE;
- /* Do not attach if IMM is in activate mode or between different desktops. */
- if ( pti->pClientInfo->CI_flags & CI_IMMACTIVATE ||
- ptiTo->pClientInfo->CI_flags & CI_IMMACTIVATE ||
+ /* Do not attach to system threads or between different desktops. */
+ if ( pti->TIF_flags & TIF_DONTATTACHQUEUE ||
+ ptiTo->TIF_flags & TIF_DONTATTACHQUEUE ||
pti->Desktop != ptiTo->Desktop )
return FALSE;