mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
X11: Add native access to primary selection
This adds the native access functions glfwSetX11SelectionString and glfwGetX11SelectionString under GLFW_EXPOSE_NATIVE_X11. They are similar to glfwSetClipboardString and glfwGetClipboardString but operate on the PRIMARY selection. The primary selection is widely used in X11, and so seems important to support. Primary selection is mostly an X11-specific thing, hence it's exposed as an X11 native interface. Fixes #894. Closes #1056. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
committed by
Camilla Löwy
parent
3ee7f8f695
commit
29a75ab09d
@@ -5,6 +5,15 @@
|
||||
@section news_33 Release notes for 3.3
|
||||
|
||||
|
||||
@subsection news_33_native_x11_selection X11 native Primary Selection access
|
||||
|
||||
GLFW now supports X11 platform specific native functions for accessing
|
||||
the X11 primary selection, as a supplement to the clipboard on this
|
||||
platform. See @ref clipboard.
|
||||
|
||||
@see @ref error_handling
|
||||
|
||||
|
||||
@subsection news_33_geterror Error query
|
||||
|
||||
GLFW now supports querying the last error code for the calling thread and its
|
||||
|
||||
Reference in New Issue
Block a user