wlr_scene: send preferred buffer transform

master
Alexander Orzechowski 5 months ago
parent 85875c47d9
commit 65e6579c56

@ -19,6 +19,8 @@ static void handle_scene_buffer_outputs_update(
double scale = surface->buffer->primary_output->output->scale; double scale = surface->buffer->primary_output->output->scale;
wlr_fractional_scale_v1_notify_scale(surface->surface, 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_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( static void handle_scene_buffer_output_enter(

Loading…
Cancel
Save