mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-15 06:59:43 -05:00
xdg-foreign-v1: s/unmap/destroy
dac040f87f mistakenly renamed
xdg_surface_destroy listener, which was listening to *unmap* events, to
xdg_surface_unmap. The actual fix, however, is to listen to destroy
events. This fixes various crashes.
This commit is contained in:
parent
d8ef9a95de
commit
ba7bbab3ab
2 changed files with 13 additions and 13 deletions
|
|
@ -34,7 +34,7 @@ struct wlr_xdg_exported_v1 {
|
|||
struct wlr_xdg_foreign_exported base;
|
||||
|
||||
struct wl_resource *resource;
|
||||
struct wl_listener xdg_surface_unmap;
|
||||
struct wl_listener xdg_surface_destroy;
|
||||
|
||||
struct wl_list link; // wlr_xdg_foreign_v1.exporter.objects
|
||||
};
|
||||
|
|
@ -54,7 +54,7 @@ struct wlr_xdg_imported_child_v1 {
|
|||
|
||||
struct wl_list link; // wlr_xdg_imported_v1.children
|
||||
|
||||
struct wl_listener xdg_surface_unmap;
|
||||
struct wl_listener xdg_surface_destroy;
|
||||
struct wl_listener xdg_toplevel_set_parent;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue