mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 06:04:34 +00:00
Wayland: Fix zero being used in place of NULL
This commit is contained in:
parent
938a3c29b2
commit
01d7c331fd
@ -2478,7 +2478,7 @@ void _glfwSetWindowMousePassthroughWayland(_GLFWwindow* window, GLFWbool enabled
|
|||||||
wl_region_destroy(region);
|
wl_region_destroy(region);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
wl_surface_set_input_region(window->wl.surface, 0);
|
wl_surface_set_input_region(window->wl.surface, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
float _glfwGetWindowOpacityWayland(_GLFWwindow* window)
|
float _glfwGetWindowOpacityWayland(_GLFWwindow* window)
|
||||||
|
Loading…
Reference in New Issue
Block a user