This commit is contained in:
Andrea Cavalli 2021-09-12 15:34:33 +02:00
parent 55095a960b
commit 3e6baa2099
1 changed files with 1 additions and 1 deletions

View File

@ -820,8 +820,8 @@ xwl_window_post_damage(struct xwl_window *xwl_window)
}
#endif
wl_surface_set_buffer_scale(xwl_window->surface, xwl_screen->global_output_scale);
wl_surface_attach(xwl_window->surface, buffer, 0, 0);
wl_surface_set_buffer_scale(xwl_window->surface, xwl_screen->global_output_scale);
/* Arbitrary limit to try to avoid flooding the Wayland
* connection. If we flood it too much anyway, this could