Keep the X11 decoration-zapping code confined to X11-using platforms! Oops!
authorJ.C. Jones <jc@insufficient.coffee>
Mon, 4 Aug 2003 02:08:05 +0000 (02:08 +0000)
committerJ.C. Jones <jc@insufficient.coffee>
Mon, 4 Aug 2003 02:08:05 +0000 (02:08 +0000)
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

index 377802d..3d86269 100644 (file)
@@ -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 };