Skip to content

unconfinePointer / GLFW_CURSOR_DISABLED #40073

@User65-87-11

Description

@User65-87-11

Windows Version

Windows 11 10.0.26100 N/A Build 26100

WSL Version

WSL version: 2.6.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-1

Distro Version

Debian

Other Software

No response

Repro Steps

Using glfw

glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);

glfwSetCursorPosCallback(window, mouseCallback);

void mouseCallback(GLFWwindow* window, double xposIn, double yposIn){
printf("Coords: %f, %f\n",xposIn,yposIn);
}

Expected Behavior

Expected the function to be called with cursor coordinates.

Actual Behavior

no input is printed, the function isn't called.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions