From 587f04f2e1fd432993cecf75fe4ffd23c9b2b243 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 12 Feb 2021 11:39:25 +0100 Subject: csd: use wayl_win_subsurface_new/destroy() --- wayland.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wayland.h') diff --git a/wayland.h b/wayland.h index 5f4d8b76..15c9c3d9 100644 --- a/wayland.h +++ b/wayland.h @@ -372,8 +372,7 @@ struct wl_window { enum {CSD_UNKNOWN, CSD_NO, CSD_YES } use_csd; struct { - struct wl_surface *surface[CSD_SURF_COUNT]; - struct wl_subsurface *sub_surface[CSD_SURF_COUNT]; + struct wl_surf_subsurf surface[CSD_SURF_COUNT]; int move_timeout_fd; uint32_t serial; } csd; -- cgit v1.3