diff --git a/src/wl_window.c b/src/wl_window.c index da7b271e..2c367ace 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1734,14 +1734,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)