diff options
author | David Edmundson <davidedmundson@kde.org> | 2023-06-05 15:57:49 +0100 |
---|---|---|
committer | David Edmundson <davidedmundson@kde.org> | 2023-06-06 07:45:05 +0000 |
commit | 5587deee20f5c12f7a9ae242758b108c1a85d7dd (patch) | |
tree | 1185ac51e56c3b7bc71995183e0035091fbd026f /src/client/qwaylandtextinputv4_p.h | |
parent | 8235fa65fe033a94e7a44322d3502f25940092ec (diff) |
client: Guard against client destruction in gestures
Client code can delete a window at any point. Any gesture events,
including a "begin" event can be already in flight before the compositor
is aware of the window destruction.
It's up to the client code to handle either the focus not being
initially found or the QPointer resetting and no-op.
Task-number: QTBUG-113145
Pick-to: 6.6 6.5
Change-Id: Ie2c01799bd38c6f295159876a1bcd018abe60188
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/qwaylandtextinputv4_p.h')
0 files changed, 0 insertions, 0 deletions