Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marco Trevisan
xserver
Commits
1497b1df
Commit
1497b1df
authored
Oct 27, 2018
by
Marco Trevisan
Committed by
Peter Hutterer
Nov 05, 2018
Browse files
dix/events: reuse grab pointer value
parent
6e1b0964
Pipeline
#7597
passed with stage
in 1 minute and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dix/events.c
View file @
1497b1df
...
...
@@ -1573,7 +1573,7 @@ DeactivatePointerGrab(DeviceIntPtr mouse)
emulate a ButtonRelease here. So pretend the listener
already has the end event */
if (grab->grabtype == CORE || grab->grabtype == XI ||
!
xi2mask_isset
(
mouse
->
deviceGrab
.
grab
->
xi2mask
,
mouse
,
XI_TouchBegin
))
{
!xi2mask_isset(grab->xi2mask, mouse, XI_TouchBegin)) {
mode = XIAcceptTouch;
/* NOTE: we set the state here, but
* ProcessTouchOwnershipEvent() will still call
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment