From 745bf511cbf62305fb50be7ee878bcb089880e43 Mon Sep 17 00:00:00 2001 From: "J.C. Jones" Date: Mon, 4 Aug 2003 02:08:05 +0000 Subject: [PATCH] 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 --- src/freeglut_window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }; -- 1.7.10.4