From 04a67c826718c7099c532bd90aa9d2ac97958d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 28 Aug 2025 18:56:48 +0200 Subject: [PATCH] Fix X11 clipboard compatibility description --- docs/compat.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/compat.md b/docs/compat.md index 5072d5c1..a97192b3 100644 --- a/docs/compat.md +++ b/docs/compat.md @@ -50,10 +50,11 @@ compositing window manager to un-redirect full screen GLFW windows. If the running window manager uses compositing but does not support this property then additional copying may be performed for each buffer swap of full screen windows. -GLFW uses the [clipboard manager protocol][ClipboardManager] to push a clipboard -string (i.e. selection) owned by a GLFW window about to be destroyed to the -clipboard manager. If there is no running clipboard manager, the clipboard -string will be unavailable once the window has been destroyed. +GLFW uses the [clipboard manager protocol][ClipboardManager] to keep the +clipboard string availble for the user after the libary has been terminated. If +there is no running clipboard manager and the clipboard contents has been set +with @ref glfwSetClipboardString, the clipboard will be emptied when the library +is terminated. [clipboardManager]: https://www.freedesktop.org/wiki/ClipboardManager/