Cleanup of clipboard and string atoms.

This commit is contained in:
Camilla Berglund
2013-01-29 02:45:08 +01:00
parent 82b8dd5040
commit f3e39ce680
4 changed files with 22 additions and 18 deletions
+6 -2
View File
@@ -132,6 +132,12 @@ typedef struct _GLFWlibraryX11
Atom NET_WM_STATE_FULLSCREEN;
Atom NET_ACTIVE_WINDOW;
// Selection atoms
Atom TARGETS;
Atom CLIPBOARD;
Atom UTF8_STRING;
Atom COMPOUND_STRING;
// True if window manager supports EWMH
GLboolean hasEWMH;
@@ -176,11 +182,9 @@ typedef struct _GLFWlibraryX11
} timer;
struct {
Atom atom;
Atom formats[_GLFW_CLIPBOARD_FORMAT_COUNT];
char* string;
Atom target;
Atom targets;
Atom property;
int status;
} selection;