At the risk of being annoying, the "X" close button works fine for me on Linux.  I modified the "walker" GLUT demo (it has two windows) by including "freeglut.h" and by adding the statement


I then compiled and ran the program, clicked on the "X" to close the curves window, and watched the guy in the guy window continue to turn slowly.

Perhaps the problem is that if there are no windows left open, "freeglut" will return control to the calling function no matter what the option is.

John F. Fay

-----Original Message-----
From: Chris Purnell []
Sent: Friday, August 29, 2003 2:54 PM
Subject: Re: [Freeglut-developer] BIG BUG in Menus and Current Window

On Fri, Aug 29, 2003 at 12:28:03PM -0400, Aleksandar Donev wrote:

> Obviously this is a big bug and needs to be fixed. Also, I strongly believe
> that the code that handles the "X" (close) button on the window under X needs
> to be fixed--it may have been badly designed in the old version but it did
> work. Now it does not.

It's broken in CVS.  Did it ever work?

Christopher John Purnell  | I thought I'd found a reason to live   | Just like before when I was a child
--------------------------| Only to find that dreams made of sand
What gods do you pray to? | Would just fall apart and slip through my hands

This email is sponsored by:ThinkGeek
Welcome to geek heaven.
Freeglut-developer mailing list