mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
X11 library struct cleanup and comments.
This commit is contained in:
parent
5d525c4a5f
commit
c700978c45
@ -112,10 +112,18 @@ typedef struct _GLFWlibraryX11
|
||||
|
||||
// Invisible cursor for hidden cursor mode
|
||||
Cursor cursor;
|
||||
// Context for mapping window XIDs to _GLFWwindow pointers
|
||||
XContext context;
|
||||
// True if window manager supports EWMH
|
||||
GLboolean hasEWMH;
|
||||
// Most recent error code received by X error handler
|
||||
int errorCode;
|
||||
|
||||
char* clipboardString;
|
||||
|
||||
// LUT for mapping X11 key codes to GLFW key codes
|
||||
int keyCodeLUT[256];
|
||||
|
||||
// Window manager atoms
|
||||
Atom WM_PROTOCOLS;
|
||||
Atom WM_STATE;
|
||||
@ -156,12 +164,6 @@ typedef struct _GLFWlibraryX11
|
||||
Atom ATOM_PAIR;
|
||||
Atom GLFW_SELECTION;
|
||||
|
||||
// True if window manager supports EWMH
|
||||
GLboolean hasEWMH;
|
||||
|
||||
// Error code received by the X error handler
|
||||
int errorCode;
|
||||
|
||||
struct {
|
||||
GLboolean available;
|
||||
int eventBase;
|
||||
@ -197,9 +199,6 @@ typedef struct _GLFWlibraryX11
|
||||
int versionMinor;
|
||||
} xi;
|
||||
|
||||
// LUT for mapping X11 key codes to GLFW key codes
|
||||
int keyCodeLUT[256];
|
||||
|
||||
struct {
|
||||
int count;
|
||||
int timeout;
|
||||
|
Loading…
Reference in New Issue
Block a user