From b4174357445c2e8331695ae893fa07623fbe7792 Mon Sep 17 00:00:00 2001 From: Vitaliy Margolen Date: Sat, 25 Nov 2006 14:46:35 -0700 Subject: [PATCH] winex11drv: State of side mouse buttons (X-buttons) is not returned from XQueryPointer. --- dlls/winex11.drv/mouse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index e6f899a7b27..abb8306a20b 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -97,8 +97,7 @@ static inline void update_button_state( unsigned int 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 */ }