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