wlr_scene: send preferred buffer transform

This commit is contained in:
Alexander Orzechowski 2024-06-28 13:44:14 -04:00
parent 85875c47d9
commit 65e6579c56

View File

@ -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(