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 */ }