Explorar o código

Wayland: Document delayed window showing

Camilla Löwy %!s(int64=3) %!d(string=hai) anos
pai
achega
8edbc4971d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      include/GLFW/glfw3.h

+ 5 - 0
include/GLFW/glfw3.h

@@ -3764,6 +3764,11 @@ GLFWAPI void glfwMaximizeWindow(GLFWwindow* window);
  *  @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref
  *  GLFW_PLATFORM_ERROR.
  *
+ *  @remark @wayland Because Wayland wants every frame of the desktop to be
+ *  complete, this function does not immediately make the window visible.
+ *  Instead it will become visible the next time the window framebuffer is
+ *  updated after this call.
+ *
  *  @thread_safety This function must only be called from the main thread.
  *
  *  @sa @ref window_hide