dinput: Corrected bug where mouse clicks were not passed to
window
Vitaliy Margolen
wine-devel at kievinfo.com
Mon Feb 20 08:20:04 CST 2006
Monday, February 20, 2006, 3:21:56 AM, Vitaly Budovski wrote:
> 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(-)
> - 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 {
No this is not correct. I think you should try to test this one, but I
really doubt that we should stop LL mouse hook callback chain. Especially
in none exclusive mode. If anything we should always call CallNextHookEx.
Vitaliy Margolen
More information about the wine-devel
mailing list