diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-18 13:09:17 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-11-18 15:35:20 +0000 |
commit | 4ff46e6cf9463e594605928feeb7c55cf323b5e7 (patch) | |
tree | 6e2d75c0380c0b015b10c578762b229331576326 /include | |
parent | 85b37127a6e33a3d73a3dd6c5c0d02c3755c91f6 (diff) |
xwayland/xwm: add support for xwayland-shell-v1
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/xwayland/xwayland.h | 3 | ||||
-rw-r--r-- | include/xwayland/xwm.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h index 372ab9a8..2a68315c 100644 --- a/include/wlr/xwayland/xwayland.h +++ b/include/wlr/xwayland/xwayland.h @@ -21,6 +21,7 @@ struct wlr_drag; struct wlr_xwayland { struct wlr_xwayland_server *server; struct wlr_xwm *xwm; + struct wlr_xwayland_shell_v1 *shell_v1; struct wlr_xwayland_cursor *cursor; const char *display_name; @@ -42,6 +43,7 @@ struct wlr_xwayland { */ int (*user_event_handler)(struct wlr_xwm *xwm, xcb_generic_event_t *event); + struct wl_listener server_start; struct wl_listener server_ready; struct wl_listener server_destroy; struct wl_listener seat_destroy; @@ -80,6 +82,7 @@ struct wlr_xwayland_surface { xcb_window_t window_id; struct wlr_xwm *xwm; uint32_t surface_id; + uint64_t serial; struct wl_list link; struct wl_list stack_link; diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h index 41e35ef3..391e09ab 100644 --- a/include/xwayland/xwm.h +++ b/include/xwayland/xwm.h @@ -17,6 +17,7 @@ enum atom_name { WL_SURFACE_ID, + WL_SURFACE_SERIAL, WM_DELETE_WINDOW, WM_PROTOCOLS, WM_HINTS, @@ -130,6 +131,7 @@ struct wlr_xwm { struct wl_listener compositor_new_surface; struct wl_listener compositor_destroy; + struct wl_listener shell_v1_new_surface; struct wl_listener seat_set_selection; struct wl_listener seat_set_primary_selection; struct wl_listener seat_start_drag; |