aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-03-11 14:01:02 +0300
committerSimon Ser <contact@emersion.fr>2023-06-02 15:54:25 +0000
commit75d03f2b68a7c7a2739cb20b16f12d4a291eef28 (patch)
treeca23bd031ba2dd5155def833dc68b8711ec46b6d /include/wlr/xwayland
parent2d6a09d9f0dd86274edf65271e2a9ffa11b47854 (diff)
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.
Diffstat (limited to 'include/wlr/xwayland')
-rw-r--r--include/wlr/xwayland/xwayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h
index a8983f1f..4e618f5b 100644
--- a/include/wlr/xwayland/xwayland.h
+++ b/include/wlr/xwayland/xwayland.h
@@ -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;