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

This commit is contained in:
Vitaliy Margolen 2006-11-25 14:46:35 -07:00 committed by Alexandre Julliard
parent 5d531fc1d5
commit b417435744
1 changed files with 1 additions and 2 deletions

View File

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