Add a roundtrip after creating the xdg-surface

The specification says we must not attach a buffer until we’ve received
a configure event.
master
Emmanuel Gil Peyrot ago%!(EXTRA string=8 years) committed by linkmauve
parent 4778d02c67
commit f2617a671f
  1. 1
      src/wl_window.c

@ -420,6 +420,7 @@ static GLFWbool createXdgSurface(_GLFWwindow* window)
}
wl_surface_commit(window->wl.surface);
wl_display_roundtrip(_glfw.wl.display);
return GLFW_TRUE;
}

Loading…
Cancel
Save