diff options
author | Justus Rossmeier <veecue@ventos.tk> | 2021-02-08 00:36:56 +0100 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2021-02-07 19:49:33 -0500 |
commit | b9e9e0e1333a10deaba7679066382b9dc4790d31 (patch) | |
tree | c7c778fab354b22bd305132666ba5f9b6c6d1c28 /examples/foreign-toplevel.c | |
parent | a02ac01be3e2029f6dcd5479c39ea30e6ea17594 (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/foreign-toplevel.c')
0 files changed, 0 insertions, 0 deletions