Author: khornicek
Date: Mon Mar 9 22:01:11 2009
New Revision: 39919
URL:
http://svn.reactos.org/svn/reactos?rev=39919&view=rev
Log:
- fix logic, global mouse and keyboard hooks are supported, dinput now works again
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] Mon Mar 9 22:01:11
2009
@@ -1051,7 +1051,7 @@
Global = TRUE;
}
- if ( ( Global && (HookId != WH_KEYBOARD_LL || HookId != WH_MOUSE_LL) ) ||
+ if ( ( Global && (HookId != WH_KEYBOARD_LL && HookId != WH_MOUSE_LL) )
||
WH_DEBUG == HookId ||
WH_JOURNALPLAYBACK == HookId ||
WH_JOURNALRECORD == HookId)