shell/platform/glfw/flutter_glfw.cc
// Flushes event queue and then assigns default window callbacks.
Flushes event queue and then assigns default window callbacks.
Flushes event queue and then assigns default window callbacks .
static void GLFWAssignEventCallbacks(GLFWwindow* window) {
  glfwPollEvents();
  glfwSetKeyCallback(window, GLFWKeyCallback);
  glfwSetCharCallback(window, GLFWCharCallback);
  glfwSetMouseButtonCallback(window, GLFWMouseButtonCallback);
  glfwSetScrollCallback(window, GLFWScrollCallback);
  if (GetSavedWindowState(window)->hover_tracking_enabled) {
    SetHoverCallbacksEnabled(window, true);
  }
}
static void GLFWAssignEventCallbacks ( GLFWwindow * window ) { glfwPollEvents ( ) ; glfwSetKeyCallback ( window , GLFWKeyCallback ) ; glfwSetCharCallback ( window , GLFWCharCallback ) ; glfwSetMouseButtonCallback ( window , GLFWMouseButtonCallback ) ; glfwSetScrollCallback ( window , GLFWScrollCallback ) ; if ( GetSavedWindowState ( window ) -> hover_tracking_enabled ) { SetHoverCallbacksEnabled ( window , true ) ; } }
Flushes event queue and then assigns default window callbacks.
Flushes event queue and then assigns default window callbacks .