Wayland: Fix error for missing protocol

A protocol not being available is not a platform error.  The platform is
doing fine; we're just sad that it lacks a feature we want.
master
Camilla Löwy ago%!(EXTRA string=3 years) committed by Camilla Löwy
parent e85b645b8a
commit 09ebf3f0bf
  1. 4
      src/wl_window.c

@ -2507,8 +2507,8 @@ static void lockPointer(_GLFWwindow* window)
{ {
if (!_glfw.wl.relativePointerManager) if (!_glfw.wl.relativePointerManager)
{ {
_glfwInputError(GLFW_PLATFORM_ERROR, _glfwInputError(GLFW_FEATURE_UNAVAILABLE,
"Wayland: no relative pointer manager"); "Wayland: The compositor does not support pointer locking");
return; return;
} }

Loading…
Cancel
Save