This commit is contained in:
Kovid Goyal 2018-10-27 13:32:16 +05:30
parent 04fd058e0f
commit 0d542b2f60
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -641,7 +641,7 @@ render(double now) {
if (!w->num_tabs || !should_os_window_be_rendered(w)) continue;
if (global_state.is_wayland && w->wayland_render_state != RENDER_FRAME_READY && OPT(sync_to_monitor)) {
if (w->wayland_render_state == RENDER_FRAME_NOT_REQUESTED) wayland_request_frame_render(w);
return;
continue;
}
bool needs_render = w->is_damaged;
make_os_window_context_current(w);