diff options
author | emersion <contact@emersion.fr> | 2018-02-23 10:20:53 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-02-23 10:20:53 +0100 |
commit | b1e2718dd72ec4526d862a3ab059b7d37aeb9af8 (patch) | |
tree | 42799c487a9538379161d0e5e051a8e7f9e9cc1f /include/wlr | |
parent | bd9583a7e8108ab4fd31fc5ab6f7c1552258fa6e (diff) |
xwayland: fix some use-after-free in xwm
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_compositor.h | 1 | ||||
-rw-r--r-- | include/wlr/xwm.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 8481c590..5919b934 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -14,6 +14,7 @@ struct wlr_compositor { struct { struct wl_signal new_surface; + struct wl_signal destroy; } events; }; diff --git a/include/wlr/xwm.h b/include/wlr/xwm.h index 242ff9cc..65681607 100644 --- a/include/wlr/xwm.h +++ b/include/wlr/xwm.h @@ -93,7 +93,8 @@ struct wlr_xwm { const xcb_query_extension_reply_t *xfixes; - struct wl_listener compositor_surface_create; + struct wl_listener compositor_new_surface; + struct wl_listener compositor_destroy; struct wl_listener seat_selection; struct wl_listener seat_primary_selection; }; |