From: J.C. Jones Date: Mon, 4 Aug 2003 02:08:05 +0000 (+0000) Subject: Keep the X11 decoration-zapping code confined to X11-using platforms! Oops! X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=745bf511cbf62305fb50be7ee878bcb089880e43;p=freeglut Keep the X11 decoration-zapping code confined to X11-using platforms! Oops! git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@156 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_window.c b/src/freeglut_window.c index 377802d..3d86269 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -33,7 +33,6 @@ #include "../include/GL/freeglut.h" #include "freeglut_internal.h" -#include "mwmborder.c" /* * TODO BEFORE THE STABLE RELEASE: @@ -64,6 +63,9 @@ * Chooses a visual basing on the current display mode settings */ #if TARGET_HOST_UNIX_X11 + +#include "mwmborder.c" /* Brian Paul's decoration-zapping code. */ + XVisualInfo* fgChooseVisual( void ) { int bufferSize[] = { 16, 12, 8, 4, 2, 1 };