X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_main_x11.c;h=c77f5e4c6fb42aec05d1be09f3f4dc71fb15d7cd;hb=41a0008578e0c3dff76f9706920c9a9b062a405d;hp=3ecb811941636e8d3b17d657ff9bc70f511984ee;hpb=6de0216ace8e54ec823458b2cd0df3b6438a0e1f;p=freeglut diff --git a/src/x11/fg_main_x11.c b/src/x11/fg_main_x11.c index 3ecb811..c77f5e4 100644 --- a/src/x11/fg_main_x11.c +++ b/src/x11/fg_main_x11.c @@ -40,6 +40,8 @@ # 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. @@ -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 ) { @@ -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 ) {