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
6215eae1
Commit
6215eae1
authored
Oct 27, 2018
by
Marco Trevisan
Browse files
dix/events: reuse grab pointer value
parent
c72c4d43
Pipeline
#6974
passed with stage
in 1 minute and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dix/events.c
View file @
6215eae1
...
...
@@ -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