xdg-foreign-v2: treat unmapped parents as NULL

This commit is contained in:
Kirill Primak 2022-03-04 01:11:51 +03:00 committed by Simon Ser
parent dac040f87f
commit 04aa44b4df
2 changed files with 18 additions and 15 deletions

View file

@ -34,7 +34,7 @@ struct wlr_xdg_exported_v2 {
struct wlr_xdg_foreign_exported base;
struct wl_resource *resource;
struct wl_listener xdg_surface_destroy;
struct wl_listener xdg_surface_unmap;
struct wl_list link; // wlr_xdg_foreign_v2::exporter::objects
};