aboutsummaryrefslogtreecommitdiff
path: root/examples/relative-pointer-unstable-v1.c
diff options
context:
space:
mode:
authorJustus Rossmeier <veecue@ventos.tk>2021-02-08 00:36:56 +0100
committerTudor Brindus <me@tbrindus.ca>2021-02-07 19:49:33 -0500
commitb9e9e0e1333a10deaba7679066382b9dc4790d31 (patch)
treec7c778fab354b22bd305132666ba5f9b6c6d1c28 /examples/relative-pointer-unstable-v1.c
parenta02ac01be3e2029f6dcd5479c39ea30e6ea17594 (diff)
tablet_v2: Fix implicit grab end detection
Store the previously focused surface in `state->focused` as well as in `state->original` when starting an implicit grab. That way at the end of an implicit grab, the detection whether the grab started and ended on the same surface works as intended, even if the original surface was never left at all.
Diffstat (limited to 'examples/relative-pointer-unstable-v1.c')
0 files changed, 0 insertions, 0 deletions