projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add documentation for geometry (ML rip-off) and Android corner-cases
[freeglut]
/
src
/
x11
/
fg_main_x11.c
diff --git
a/src/x11/fg_main_x11.c
b/src/x11/fg_main_x11.c
index
3ecb811
..
c77f5e4
100644
(file)
--- a/
src/x11/fg_main_x11.c
+++ b/
src/x11/fg_main_x11.c
@@
-40,6
+40,8
@@
# define VFPRINTF(s,f,a)
#endif
# define VFPRINTF(s,f,a)
#endif
+#include "fg_main.h"
+
/*
* Try to get the maximum value allowed for ints, falling back to the minimum
* guaranteed by ISO C99 if there is no suitable header.
/*
* Try to get the maximum value allowed for ints, falling back to the minimum
* guaranteed by ISO C99 if there is no suitable header.
@@
-71,9
+73,7
@@
static Bool match_motion(Display *dpy, XEvent *xev, XPointer arg);
/*
/*
- * Handle a window configuration change. When no reshape
- * callback is hooked, the viewport size is updated to
- * match the new window size.
+ * Request a window resize
*/
void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )
{
*/
void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )
{
@@
-298,7
+298,7
@@
static const char* fghColormapStateToString( int state )
}
}
}
}
-static void fghPrintEvent( XEvent *event )
+__fg_unused static void fghPrintEvent( XEvent *event )
{
switch( event->type ) {
{
switch( event->type ) {