csd: use wayl_win_subsurface_new/destroy()

This commit is contained in:
Daniel Eklöf 2021-02-12 11:39:25 +01:00
parent 9d362158e3
commit 587f04f2e1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 39 additions and 29 deletions

View file

@ -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;