Vitaliy Margolen : winex11drv: State of side mouse buttons (X-buttons) is not returned from XQueryPointer.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 27 12:50:57 CST 2006


Module: wine
Branch: master
Commit: b4174357445c2e8331695ae893fa07623fbe7792
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b4174357445c2e8331695ae893fa07623fbe7792

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Sat Nov 25 14:46:35 2006 -0700

winex11drv: State of side mouse buttons (X-buttons) is not returned from XQueryPointer.

---

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

diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index e6f899a..abb8306 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -97,8 +97,7 @@ static inline void update_button_state(
     key_state_table[VK_LBUTTON] = (state & Button1Mask ? 0x80 : 0);
     key_state_table[VK_MBUTTON] = (state & Button2Mask ? 0x80 : 0);
     key_state_table[VK_RBUTTON] = (state & Button3Mask ? 0x80 : 0);
-    key_state_table[VK_XBUTTON1]= (state & Button6Mask ? 0x80 : 0);
-    key_state_table[VK_XBUTTON2]= (state & Button7Mask ? 0x80 : 0);
+    /* X-buttons are not reported from XQueryPointer */
 }
 
 




More information about the wine-cvs mailing list