diff options
author | Simon Ser <contact@emersion.fr> | 2023-04-20 10:31:22 +0200 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-06-05 18:29:55 +0000 |
commit | 4c5eadecce4fce6956c8e8f9fb5f2ae0e48a2e81 (patch) | |
tree | 0db6200c3f11f9dae22e77c0fa9e9e8141d9c51c /include/backend | |
parent | 46a014bf478c612a415410ea02906f1b82d48ba8 (diff) |
backend/wayland: add scaling support for output layers
Use the viewporter protocol to scale output layers.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/wayland.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; |