]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: clear wlr_xwayland_surface in handle_destroy
authorJohan Malm <jgm323@gmail.com>
Wed, 20 Oct 2021 19:34:47 +0000 (20:34 +0100)
committerJohan Malm <jgm323@gmail.com>
Wed, 20 Oct 2021 19:34:47 +0000 (20:34 +0100)
commit26454e3115fd482d7252e5cc8cb24d2c64dacb60
treec42c514dd39a3cc21b0b16a966d3065c1875fda0
parentfb6792f12c2d87f4f5eef7ce85505998716f9771
xwayland: clear wlr_xwayland_surface in handle_destroy

Avoids wlr_xwayland_surface becoming a dangling pointer if a view is not
destroyed immediately.

See swaywm/sway@215787e8
src/xwayland.c