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
2118e447
Commit
2118e447
authored
Oct 27, 2018
by
Marco Trevisan
Committed by
Peter Hutterer
Nov 12, 2018
Browse files
dix/events: reuse grab pointer value
parent
35e5a76c
Pipeline
#8223
passed with stage
in 1 minute and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dix/events.c
View file @
2118e447
...
...
@@ -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