View Full Version : Event loop exit on close
03-19-2008, 02:15 PM
Anyone know offhand the proper way to gracefully exit the window event loop in response to clicking the close button?
In Windows I'd just handle the WM_CLOSE event to cleanup GL then WM_DESTROY to exit. What's the Linux way?
03-19-2008, 02:30 PM
Since I use SDL, I call SDL_Quit() on exit, and that's about it.
03-19-2008, 04:12 PM
SDL looks like a good bet, but I'm one of those guys that's got to do everything the hard way, even if it makes absolutely no sense.
Anyhoo, narrowed it down to the ClientMessage event, and that plowed the way to a much greener searching pasture.
Thank ye kindly for the reply.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.