So, I'm trying to make a windowing system in C2, but whenever I hit the close button, (it destroys the window and stuff) it always closes all the windows! I know what is causing it but don't know how to fix it. Thanks!
[attachment=0:1k6fyalx][/attachment:1k6fyalx]