brutal/Brutal.ImGui.Backends
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Laurens de Voogd 66b9705837 Return null from GlfwBackend.GetClipboardText when the clipboard holds no text
glfwGetClipboardString returns NULL when the clipboard cannot be converted to text (GLFW_FORMAT_UNAVAILABLE), and Glfw.Clipboard is declared string? for it. Passing that null to Utf8.GetByteCount threw ArgumentNullException inside the native callback, which ended the process on Ctrl+V. ImGui treats a null clipboard as nothing to paste, as with the C++ imgui_impl_glfw.

Fixes #8

Signed-off-by: Laurens de Voogd <laurens@devoogd.be>
2026-10-15 09:59:41 +02:00
..
Interfaces first 2026-10-15 17:10:50 +13:00
PlatformBackends Return null from GlfwBackend.GetClipboardText when the clipboard holds no text 2026-10-15 09:59:41 +02:00
RendererBackends first 2026-10-15 17:10:50 +13:00