kwin/autotests/wayland/server
Vlad Zahorodnii 442648edc0 wayland: Remove zombie ClientConnection from Display later
Otherwise it's theoretically possible to create a new ClientConnection
object for the zombie wl_client when its resources are being destroyed.
For example

- process early wl_client destroy notification
- the ClientConnection objects gets removed from the client list in Display
- process wl_resource objects getting destroyed
- if some code calls display->getConnection(zombie_client), it's going to
  reintroduce the client in the client list
- process late wl_client destroy notification, it's going to destroy the
  original and the clone ClientConnection object

This change prevents reintoducing a clone client object, by keeping the
original for a bit longer until it's actually destroyed. In the future though,
it would be great to kill the client lists in Display and ClientConnection,
and just use `static_cast<ClientConnection *>(wl_client_get_user_data())`.
2024-03-20 13:41:59 +00:00
..
CMakeLists.txt Port to renamed kwayland 2023-11-23 19:34:24 +00:00
test_datacontrol_interface.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
test_display.cpp wayland: Remove zombie ClientConnection from Display later 2024-03-20 13:41:59 +00:00
test_inputmethod_interface.cpp Merge libkwineffects into libkwin 2023-10-25 12:46:12 +00:00
test_keyboard_shortcuts_inhibitor_interface.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
test_layershellv1_interface.cpp
test_no_xdg_runtime_dir.cpp
test_screencast.cpp
test_seat.cpp
test_tablet_interface.cpp Send tablet events to every bound wl_resource 2023-10-24 11:22:27 +00:00
test_textinputv1_interface.cpp
test_textinputv3_interface.cpp
test_viewporter_interface.cpp scene: Fix SurfaceItem::bufferTransform() 2024-01-09 17:42:09 +00:00