aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-06-26 13:55:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-06-29 13:38:23 +0000
commitc5d533ec71aafe1c842189a7e662f7a7696c56a9 (patch)
tree09d06485cf443575b80acde1f85a078d9bfa2ab7 /wayland.h
parentwayland: add wayl_surface_scale(), and wayl_win_scale() (diff)
wayland: add viewport object to sub-surface struct
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 06150328..bb9bf77f 100644
--- a/wayland.h
+++ b/wayland.h
@@ -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 {