diff --git a/src/wl_window.c b/src/wl_window.c index 12bda386..e21755a8 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1600,14 +1600,6 @@ static void dataSourceHandleSend(void* userData, } char* string = _glfw.wl.clipboardString; - if (!string) - { - _glfwInputError(GLFW_PLATFORM_ERROR, - "Wayland: Copy requested from an invalid string"); - close(fd); - return; - } - size_t length = strlen(string); while (length > 0)