wayland: add viewport object to sub-surface struct

This commit is contained in:
Daniel Eklöf 2023-06-26 15:55:40 +02:00
parent 0a5073f570
commit c5d533ec71
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 28 additions and 2 deletions

View file

@ -297,6 +297,9 @@ struct monitor {
struct wl_surf_subsurf {
struct wl_surface *surf;
struct wl_subsurface *sub;
#if defined(HAVE_FRACTIONAL_SCALE)
struct wp_viewport *viewport;
#endif
};
struct wl_url {