Skip to content
  • Kristian Nielsen's avatar
    X11: Add native access to primary selection · 29a75ab0
    Kristian Nielsen authored
    
    
    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: default avatarKristian Nielsen <knielsen@knielsen-hq.org>
    29a75ab0