Add xdg-decoration

This commit is contained in:
2022-09-09 22:22:36 +02:00
parent 7dc0a6194f
commit cd7ebab4dc
6 changed files with 467 additions and 1 deletions

View File

@@ -33,6 +33,9 @@ struct pointer_event
uint32_t axis_source;
};
struct zxdg_decoration_manager_v1;
struct zxdg_toplevel_decoration_v1;
struct client_state
{
/* Globals */
@@ -42,6 +45,8 @@ struct client_state
struct wl_compositor *wl_compositor;
struct xdg_wm_base *xdg_wm_base;
struct wl_seat *wl_seat;
struct zxdg_decoration_manager_v1 *xdg_decoration_manager;
struct zxdg_toplevel_decoration_v1 *xdg_toplevel_decoration;
/* Objects */
struct wl_surface *wl_surface;