xwm: introduce associate/dissociate events

We'll soon introduce a unified wlr_surface map event. Up until now, compositors
have been using wlr_xwayland_surface's map event to setup various wlr_surface
related listeners (e.g. commit). This will no longer be possible when that
event is moved over to wlr_surface. Introduce new events where the compositor
can add/remove wlr_surface event listeners.
This commit is contained in:
Kirill Primak 2023-03-11 14:01:02 +03:00 committed by Simon Ser
parent 2d6a09d9f0
commit 75d03f2b68
2 changed files with 9 additions and 0 deletions

View file

@ -150,6 +150,9 @@ struct wlr_xwayland_surface {
struct wl_signal request_fullscreen;
struct wl_signal request_activate;
struct wl_signal associate;
struct wl_signal dissociate;
struct wl_signal map;
struct wl_signal unmap;
struct wl_signal set_title;