projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidy-up: config.h included via fg_internal.h no deep to duplicate.
[freeglut]
/
src
/
x11
/
fg_internal_x11.h
diff --git
a/src/x11/fg_internal_x11.h
b/src/x11/fg_internal_x11.h
index
0d969f4
..
64daf72
100644
(file)
--- a/
src/x11/fg_internal_x11.h
+++ b/
src/x11/fg_internal_x11.h
@@
-60,6
+60,9
@@
struct tagSFG_PlatformDisplay
Atom DeleteWindow; /* The window deletion atom */
Atom State; /* The state atom */
Atom StateFullScreen; /* The full screen atom */
Atom DeleteWindow; /* The window deletion atom */
Atom State; /* The state atom */
Atom StateFullScreen; /* The full screen atom */
+ int NetWMSupported; /* Flag for EWMH Window Managers */
+ Atom NetWMPid; /* The _NET_WM_PID atom */
+ Atom ClientMachine; /* The client machine name atom */
#ifdef HAVE_X11_EXTENSIONS_XRANDR_H
int prev_xsz, prev_ysz;
#ifdef HAVE_X11_EXTENSIONS_XRANDR_H
int prev_xsz, prev_ysz;
@@
-92,10
+95,8
@@
struct tagSFG_PlatformDisplay
* Make "freeglut" window handle and context types so that we don't need so
* much conditionally-compiled code later in the library.
*/
* Make "freeglut" window handle and context types so that we don't need so
* much conditionally-compiled code later in the library.
*/
+#ifndef EGL_VERSION_1_0
typedef Window SFG_WindowHandleType ;
typedef Window SFG_WindowHandleType ;
-#ifdef EGL_VERSION_1_0
-typedef EGLContext SFG_WindowContextType ;
-#else
typedef GLXContext SFG_WindowContextType ;
#endif
typedef struct tagSFG_PlatformContext SFG_PlatformContext;
typedef GLXContext SFG_WindowContextType ;
#endif
typedef struct tagSFG_PlatformContext SFG_PlatformContext;
@@
-115,6
+116,7
@@
struct tagSFG_PlatformWindowState
{
int OldWidth; /* Window width from before a resize */
int OldHeight; /* " height " " " " */
{
int OldWidth; /* Window width from before a resize */
int OldHeight; /* " height " " " " */
+ GLboolean KeyRepeating; /* Currently in repeat mode? */
};
};