Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glfw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
glfw
Commits
c700978c
Commit
c700978c
authored
10 years ago
by
Camilla Löwy
Browse files
Options
Downloads
Patches
Plain Diff
X11 library struct cleanup and comments.
parent
5d525c4a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/x11_platform.h
+8
-9
8 additions, 9 deletions
src/x11_platform.h
with
8 additions
and
9 deletions
src/x11_platform.h
+
8
−
9
View file @
c700978c
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment