shell: Use new map/unmap events

For xwayland we must listen on associate/dissociate to set up and tear
down the map/unmap event handlers instead of during surface
create/destroy.
This commit is contained in:
Kenny Levinsen 2023-09-30 13:40:33 +02:00 committed by Simon Ser
parent 4ea6a8b1a7
commit 2d4b7a4e23
3 changed files with 37 additions and 8 deletions

View file

@ -10,6 +10,8 @@ struct cg_xwayland_view {
struct cg_view view;
struct wlr_xwayland_surface *xwayland_surface;
struct wl_listener destroy;
struct wl_listener associate;
struct wl_listener dissociate;
struct wl_listener unmap;
struct wl_listener map;
struct wl_listener request_fullscreen;