diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-17 12:52:44 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-17 12:52:44 +0200 |
| commit | d191bee0ae760a24b72d4c8dde03f11f278d389a (patch) | |
| tree | da6980e6a26ada1e9e860e2aeae9850617ab788a /platform/linuxbsd/wayland/wayland_thread.cpp | |
| parent | a4312eebaaa8858922d178dd87616fa07008127b (diff) | |
| parent | a852e76196559852278a59672cb5b0e6a8336d59 (diff) | |
| download | redot-engine-d191bee0ae760a24b72d4c8dde03f11f278d389a.tar.gz | |
Merge pull request #94402 from Riteo/committed-to-the-cause
Wayland: Commit surface on window creation
Diffstat (limited to 'platform/linuxbsd/wayland/wayland_thread.cpp')
| -rw-r--r-- | platform/linuxbsd/wayland/wayland_thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linuxbsd/wayland/wayland_thread.cpp b/platform/linuxbsd/wayland/wayland_thread.cpp index 7bdc75db29..0ba49f900e 100644 --- a/platform/linuxbsd/wayland/wayland_thread.cpp +++ b/platform/linuxbsd/wayland/wayland_thread.cpp @@ -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); } |
