wayland/shell: Fix race for wnd->display.wl.
The Wayland background thread dereferences said variable, but is started
before the value is written there. Occasionally the thread would win
the race and segfault in wl_display_get_fd.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Showing
Please register or sign in to comment