Disable "X"

I’m using glut and would like to disable the “X” in the upper right corner of my window. How do I do this?

I don’t want to register a callback, I just want to completely disable the button. It can be visible and greyed out, but it can’t be functional.

[This message has been edited by collins_scott (edited 11-21-2003).]

I don’t think GLUT provides that functionality. If you can figure out how to do that on your platform, you could add code to GLUT to support that. I’m sure the GLUT maintainers would gladly accept a patch.