From 4c5eadecce4fce6956c8e8f9fb5f2ae0e48a2e81 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 20 Apr 2023 10:31:22 +0200 Subject: backend/wayland: add scaling support for output layers Use the viewporter protocol to scale output layers. --- include/backend/wayland.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/backend') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 13c65235..fd056403 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -48,6 +48,7 @@ struct wlr_wl_backend { struct wl_drm *legacy_drm; struct xdg_activation_v1 *activation_v1; struct wl_subcompositor *subcompositor; + struct wp_viewporter *viewporter; char *drm_render_name; }; @@ -71,6 +72,7 @@ struct wlr_wl_output_layer { struct wl_surface *surface; struct wl_subsurface *subsurface; + struct wp_viewport *viewport; bool mapped; }; -- cgit v1.2.3