[PATCH 3/3] dinput: Use WINDPROC hook to monitor focus loses away
from windows with acquired devices.
Vitaliy Margolen
wine-patches at kievinfo.com
Sun Jun 3 10:09:41 CDT 2007
This is required for dinput to release mouse when app looses focus - as
test indicates. Here I'm using single hook that handles multiple devices.
---
dlls/dinput/dinput_main.c | 77 ++++++++++++++++++++++++++++++++++++++++++
dlls/dinput/dinput_private.h | 2 +
dlls/dinput/mouse.c | 2 +
dlls/dinput/tests/mouse.c | 1 -
4 files changed, 81 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ad488508fa5104be10adc9e6007dd712ad5df081.diff
Type: text/x-patch
Size: 4817 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070603/ce7de8af/ad488508fa5104be10adc9e6007dd712ad5df081-0001.bin
More information about the wine-patches
mailing list