Wayland: Fix zero being used in place of NULL

This commit is contained in:
Camilla Löwy 2023-08-03 18:10:24 +02:00
parent 938a3c29b2
commit 01d7c331fd

View File

@ -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)