mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
Wayland: Fix zero being used in place of NULL
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user