Skip to content

Commit

Permalink
Merge pull request #94402 from Riteo/committed-to-the-cause
Browse files Browse the repository at this point in the history
Wayland: Commit surface on window creation
  • Loading branch information
akien-mga committed Jul 17, 2024
2 parents a4312ee + a852e76 commit d191bee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/linuxbsd/wayland/wayland_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3245,6 +3245,8 @@ void WaylandThread::window_create(DisplayServer::WindowID p_window_id, int p_wid
zxdg_exported_v1_add_listener(ws.xdg_exported, &xdg_exported_listener, &ws);
}

wl_surface_commit(ws.wl_surface);

// Wait for the surface to be configured before continuing.
wl_display_roundtrip(wl_display);
}
Expand Down

0 comments on commit d191bee

Please sign in to comment.