Separated formats from targets.

This commit is contained in:
Camilla Berglund
2013-04-29 12:43:54 +02:00
parent dab22c4c53
commit ae1532670c
3 changed files with 22 additions and 17 deletions
-5
View File
@@ -547,11 +547,6 @@ static GLboolean initDisplay(void)
_glfw.x11.MULTIPLE = XInternAtom(_glfw.x11.display, "MULTIPLE", False);
_glfw.x11.CLIPBOARD = XInternAtom(_glfw.x11.display, "CLIPBOARD", False);
// Store clipboard format atoms in order of preference
_glfw.x11.selection.formats[0] = _glfw.x11.UTF8_STRING;
_glfw.x11.selection.formats[1] = _glfw.x11.COMPOUND_STRING;
_glfw.x11.selection.formats[2] = XA_STRING;
return GL_TRUE;
}