QWaylandXdgSurface: Always clean up xdg_activation_token in more places
If the token arrives after the surface has already been destroyed,
the lambda containing the deleteLater would never be called.
Amends 691ff3953172bf850b52af8aa6e6980dd94bc9d6
Pick-to: 6.9 6.8
Change-Id: Ibebeb441d9c115b0203703b8042a58e986ccff47
Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Reviewed-by: Kai Uwe Broulik <kde@privat.broulik.de>
| commit | 4f7595e2b05698da6f9cc21d70bf331638d7edc8 |
| parent | e038d0b750cf238fef6eeb07a90b7fc1b52e4640 |
| author | Ilya Fedin <fedin-ilja2010@ya.ru> |
| committer | Ilya Fedin <fedin-ilja2010@ya.ru> |
| commit time | Sat, 21 Dec 2024 18:28:24 +0400 |