mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Send wl_surface.preferred_buffer_scale
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3696
This commit is contained in:
parent
92244c87db
commit
fc16fb6549
2 changed files with 2 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ void surface_update_outputs(struct wlr_surface *surface) {
|
|||
}
|
||||
}
|
||||
wlr_fractional_scale_v1_notify_scale(surface, scale);
|
||||
wlr_surface_set_preferred_buffer_scale(surface, ceil(scale));
|
||||
}
|
||||
|
||||
void surface_enter_output(struct wlr_surface *surface,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue