diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 17:42:50 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 17:42:50 +0100 |
| commit | f10d4ee043459250ef9a243f68ab9e730e435f60 (patch) | |
| tree | 48392fb23095d4a657f71439c2211869e5370b67 | |
| parent | a9cf9765dd77937dd99c555c3e14af414a5c37b7 (diff) | |
roundtrip after window add
| -rw-r--r-- | src/window.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.cc b/src/window.cc index ce8b7d1..1f1a02e 100644 --- a/src/window.cc +++ b/src/window.cc @@ -88,8 +88,9 @@ enum window_error_e wayc_window_init(struct window_s* window, const char* name, window->surface = surface; window->xdg_surface = xdg_surface; window->xdg_toplevel = xdg_toplevel; - window->loop = loop; + + wl_display_roundtrip(wlstate->display); return WINDOW_ERROR_NONE; } |
