Kirill Primak
529f1b82ee
xwayland/shell: don't listen to wlr_surface.events.destroy
...
The wlr_xwayland_surface_v1 will be destroyed automatically
from xwl_surface_role_destroy().
2023-07-26 20:31:03 +00:00
Kirill Primak
fce7cb249f
xwayland-shell: don't remove inert role resource
2023-07-10 10:03:24 +02:00
Simon Ser
8a5b5e6f28
compositor: listen to role_resource destroy signal
...
Call wlr_surface_destroy_role_object() when the role_resource is
destroyed.
2023-06-23 14:33:26 +02:00
Simon Ser
89cb484220
compositor: replace role_data with role_resource
...
This increases type safety, makes it more obvious that role_data
must represent the role object, and will allow for automatic
cleanup when the resource is destroyed.
2023-06-23 14:23:27 +02:00
Kirill Primak
0f67580aab
compositor: introduce wlr_surface_set_role_object()
2023-06-23 11:54:05 +00:00
Kirill Primak
b355a12751
xwayland/shell: actually use wlr_xwayland_surface_v1.link
...
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3575
2023-02-03 16:38:12 +03:00
Simon Ser
85b37127a6
xwayland/shell: add wlr_xwayland_shell_v1_surface_from_serial()
2022-11-18 15:35:20 +00:00
Simon Ser
d3b84463f8
xwayland: add wlr_xwayland_shell_v1_destroy()
2022-11-18 15:35:20 +00:00
Simon Ser
44c7e233ff
xwayland: add wlr_xwayland_shell_v1_set_client()
2022-11-18 15:35:20 +00:00
Simon Ser
69b0b296a2
xwayland-shell-v1: new protocol implementation
...
References: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/163
2022-11-18 15:35:20 +00:00