Wayland: Ensure new render frame is requested when making OS Window visible. Fixes #9432

This commit is contained in:
Kovid Goyal 2026-01-29 20:16:59 +05:30
parent cb53c41c7c
commit 4317ab9ff6
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -591,6 +591,7 @@ set_os_window_visibility(OSWindow *w, int set_visible, bool move_to_active_scree
if (set_visible) {
glfwShowWindow(w->handle, move_to_active_screen);
w->needs_render = true;
w->render_state = RENDER_FRAME_NOT_REQUESTED;
w->keep_rendering_till_swap = 256; // try this many times
request_tick_callback();
} else glfwHideWindow(w->handle);