winex11: Add grab for XInput2 ButtonPress event.
This commit is contained in:
parent
c5d457c8b4
commit
266cd6c46a
|
@ -305,6 +305,7 @@ static void enable_xinput2(void)
|
||||||
mask.mask_len = sizeof(mask_bits);
|
mask.mask_len = sizeof(mask_bits);
|
||||||
memset( mask_bits, 0, sizeof(mask_bits) );
|
memset( mask_bits, 0, sizeof(mask_bits) );
|
||||||
XISetMask( mask_bits, XI_RawMotion );
|
XISetMask( mask_bits, XI_RawMotion );
|
||||||
|
XISetMask( mask_bits, XI_ButtonPress );
|
||||||
|
|
||||||
for (i = 0; i < count; ++i)
|
for (i = 0; i < count; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue