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

glutSetOption ( GLUT_ACTION_ON_WINDOW_CLOSE, GLUT_ACTION_CONTINUE_EXECUTION ) ;

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
john.fay@eglin.af.mil



-----Original Message-----
From: Chris Purnell [mailto:cjp@lost.org.uk]
Sent: Friday, August 29, 2003 2:54 PM
To: freeglut-developer@lists.sourceforge.net
Subject: Re: [Freeglut-developer] BIG BUG in Menus and Current Window


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

> 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
http://www.lost.org.uk/   | 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 sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freeglut-developer