CVS: winex/dlls/dinput/mouse main.c,1.69,1.70
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/dlls/dinput/mouse main.c,1.69,1.70Update of /var/lib/cvsd/cvsroot/winex/dlls/dinput/mouse
In directory agravaine:/tmp/cvs-serv28042/dlls/dinput/mouse
Modified Files:
main.c
Log Message:
- This is a fix for a right-mouse button drag issue
Index: main.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/dinput/mouse/main.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- main.c 6 Nov 2006 16:15:39 -0000 1.69
+++ main.c 30 Mar 2007 22:04:02 -0000 1.70
@@ -473,10 +473,7 @@
if (wparam == WM_MOUSEMOVE) {
TRACE("input: X=%ld, Y=%ld\n", hook->pt.x, hook->pt.y);
if (!WARP_CONDITION(This)) {
- if (This->absolute) {
- This->m_state.lX = hook->pt.x;
- This->m_state.lY = hook->pt.y;
- } else if (hook->flags & LLMHF_INJECTED) {
+ if (hook->flags & LLMHF_INJECTED) {
/* SetCursorPos is notifying us that the app is moving the cursor.
* Since we're not doing our own warping in this code path,
* SetCursorPos will do it. We just need to make sure we treat