dinput: Corrected bug where mouse clicks were not passed to window

Vitaly Budovski vbudovsk at cs.rmit.edu.au
Mon Feb 20 04:21:56 CST 2006


dinput: Corrected bug where mouse clicks were not passed to window
with DISCL_EXCLUSIVE flag set.

 dlls/dinput/mouse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-------------- next part --------------
diff --git a/dlls/dinput/mouse.c b/dlls/dinput/mouse.c
index 6570d1f..23bde16 100644
--- a/dlls/dinput/mouse.c
+++ b/dlls/dinput/mouse.c
@@ -543,7 +543,7 @@ static LRESULT CALLBACK dinput_mouse_hoo
   end:
     LeaveCriticalSection(&(This->crit));
     
-    if (dwCoop & DISCL_NONEXCLUSIVE) {
+    if (dwCoop & DISCL_EXCLUSIVE) {
 	/* Pass the events down to previous handlers (e.g. win32 input) */
 	ret = CallNextHookEx( This->hook, code, wparam, lparam );
     } else {
-- 
1.0.4


More information about the wine-patches mailing list