mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Removed support for primary and secondary selections.
This commit is contained in:
+2
-6
@@ -456,13 +456,9 @@ static GLboolean initDisplay(void)
|
||||
// the keyboard mapping.
|
||||
updateKeyCodeLUT();
|
||||
|
||||
// Find or create clipboard atoms
|
||||
_glfwLibrary.X11.selection.atoms.clipboard[_GLFW_CLIPBOARD_ATOM_PRIMARY] =
|
||||
XA_PRIMARY;
|
||||
_glfwLibrary.X11.selection.atoms.clipboard[_GLFW_CLIPBOARD_ATOM_CLIPBOARD] =
|
||||
// Find or create clipboard atom
|
||||
_glfwLibrary.X11.selection.atom =
|
||||
XInternAtom(_glfwLibrary.X11.display, "CLIPBOARD", False);
|
||||
_glfwLibrary.X11.selection.atoms.clipboard[_GLFW_CLIPBOARD_ATOM_SECONDARY] =
|
||||
XA_SECONDARY;
|
||||
|
||||
// Find or create selection atoms
|
||||
_glfwLibrary.X11.selection.atoms.string[_GLFW_STRING_ATOM_UTF8] =
|
||||
|
||||
Reference in New Issue
Block a user