Wayland: Fix zero being used in place of NULL

master
Camilla Löwy ago%!(EXTRA string=2 years)
parent 938a3c29b2
commit 01d7c331fd
  1. 2
      src/wl_window.c

@ -2478,7 +2478,7 @@ void _glfwSetWindowMousePassthroughWayland(_GLFWwindow* window, GLFWbool enabled
wl_region_destroy(region);
}
else
wl_surface_set_input_region(window->wl.surface, 0);
wl_surface_set_input_region(window->wl.surface, NULL);
}
float _glfwGetWindowOpacityWayland(_GLFWwindow* window)

Loading…
Cancel
Save