winex11.drv: do not call hooks from SetCursorPos.

Lauri Kenttä lauri.kentta at gmail.com
Sat Jan 16 10:26:54 CST 2010


When moving the cursor with SetCursorPos, low-level mouse hooks should not
be called. (Tested with Windows 2008 Server.)

This patch fixes the problem in case that SetCursorPos doesn't need to
call XWarpPointer; in the other case, there isn't much we can do, because
the X protocol works asynchronously.

This also fixes the user32/tests failure that would otherwise result from
my other patch, http://source.winehq.org/patches/data/57501
---
 dlls/winex11.drv/mouse.c |   44
++++++++++++++++++++++++--------------------
 1 files changed, 24 insertions(+), 20 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11.drv-do-not-call-hooks-from-SetCursorPos.txt
Type: text/x-patch
Size: 5744 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100116/6bc8d23f/attachment.bin>


More information about the wine-patches mailing list