mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
wlr_scene: send preferred buffer transform
This commit is contained in:
parent
85875c47d9
commit
65e6579c56
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user