winex11: Add grab for XInput2 ButtonPress event.

This commit is contained in:
William Pettersson 2011-07-11 10:29:26 +10:00 committed by Alexandre Julliard
parent c5d457c8b4
commit 266cd6c46a
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ static void enable_xinput2(void)
mask.mask_len = sizeof(mask_bits);
memset( mask_bits, 0, sizeof(mask_bits) );
XISetMask( mask_bits, XI_RawMotion );
XISetMask( mask_bits, XI_ButtonPress );
for (i = 0; i < count; ++i)
{