mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +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
|
// Invisible cursor for hidden cursor mode
|
||||||
Cursor cursor;
|
Cursor cursor;
|
||||||
|
// Context for mapping window XIDs to _GLFWwindow pointers
|
||||||
XContext context;
|
XContext context;
|
||||||
|
// True if window manager supports EWMH
|
||||||
|
GLboolean hasEWMH;
|
||||||
|
// Most recent error code received by X error handler
|
||||||
|
int errorCode;
|
||||||
|
|
||||||
char* clipboardString;
|
char* clipboardString;
|
||||||
|
|
||||||
|
// LUT for mapping X11 key codes to GLFW key codes
|
||||||
|
int keyCodeLUT[256];
|
||||||
|
|
||||||
// Window manager atoms
|
// Window manager atoms
|
||||||
Atom WM_PROTOCOLS;
|
Atom WM_PROTOCOLS;
|
||||||
Atom WM_STATE;
|
Atom WM_STATE;
|
||||||
@ -156,12 +164,6 @@ typedef struct _GLFWlibraryX11
|
|||||||
Atom ATOM_PAIR;
|
Atom ATOM_PAIR;
|
||||||
Atom GLFW_SELECTION;
|
Atom GLFW_SELECTION;
|
||||||
|
|
||||||
// True if window manager supports EWMH
|
|
||||||
GLboolean hasEWMH;
|
|
||||||
|
|
||||||
// Error code received by the X error handler
|
|
||||||
int errorCode;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
GLboolean available;
|
GLboolean available;
|
||||||
int eventBase;
|
int eventBase;
|
||||||
@ -197,9 +199,6 @@ typedef struct _GLFWlibraryX11
|
|||||||
int versionMinor;
|
int versionMinor;
|
||||||
} xi;
|
} xi;
|
||||||
|
|
||||||
// LUT for mapping X11 key codes to GLFW key codes
|
|
||||||
int keyCodeLUT[256];
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
int count;
|
int count;
|
||||||
int timeout;
|
int timeout;
|
||||||
|
Loading…
Reference in New Issue
Block a user