From 65e6579c56ca7d66ceed253e019e8c6c61a9e0ee Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Fri, 28 Jun 2024 13:44:14 -0400 Subject: [PATCH] wlr_scene: send preferred buffer transform --- types/scene/surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/scene/surface.c b/types/scene/surface.c index e0f61f51..1905b4df 100644 --- a/types/scene/surface.c +++ b/types/scene/surface.c @@ -19,6 +19,8 @@ static void handle_scene_buffer_outputs_update( double scale = surface->buffer->primary_output->output->scale; wlr_fractional_scale_v1_notify_scale(surface->surface, scale); wlr_surface_set_preferred_buffer_scale(surface->surface, ceil(scale)); + wlr_surface_set_preferred_buffer_transform(surface->surface, + surface->buffer->primary_output->output->transform); } static void handle_scene_buffer_output_enter(