Skip to content

Commit 18432ef

Browse files
committed
Restore fractional scaling accidentally removed in #18630
1 parent 6e4a1ee commit 18432ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gfx/drivers_context/wayland_ctx.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ static bool gfx_ctx_wl_set_resize(void *data, unsigned width, unsigned height)
130130
if (!wl->fractional_scale &&
131131
wl_compositor_get_version(wl->compositor) >=
132132
WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION)
133-
wl->ignore_configuration = false;
133+
wl_surface_set_buffer_scale(wl->surface, wl->buffer_scale);
134+
wl->ignore_configuration = false;
134135
#ifdef HAVE_EGL
135136
wl_egl_window_resize(wl->win, width, height, 0, 0);
136137
#endif

0 commit comments

Comments
 (0)