diff options
Diffstat (limited to 'sway/desktop/surface.c')
-rw-r--r-- | sway/desktop/surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/surface.c b/sway/desktop/surface.c index 68772ee0..5932eaa2 100644 --- a/sway/desktop/surface.c +++ b/sway/desktop/surface.c @@ -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, |