Luke, I hadn't thought of that. I changed my code back to the older version that used push-quit-event to exit the innermost with-events. When I attempt to close the game window, it exits the innermost with-events but not the outer. I don't know if this helps, but I was originally letting the handling of a mouse-movement-event call push-quit-event when the cursor left a certain area of the screen. I was letting a key-down-event call push-quit-event as well. So what I found is that trying to close the window exits the inner but not the outer with-events, as does pressing a key, but the handler for mouse-motion-event does seem to generate two quit-event events, or at least not remove the one it responded to from the event queue, and this seems to be time sensitive.
- Stuart On Thu, Jul 17, 2008 at 1:05 PM, Luke Crook <[EMAIL PROTECTED]> wrote: > Hi Stuart, > > What happens if you receive a SDL_quit event generated from the SDL > library iteself when in the nested WITH-EVENTS loop? For example the user > has attempted to close the game window. > > - Luke > _______________________________________________ > application-builder mailing list > [email protected] > http://www.lispniks.com/mailman/listinfo/application-builder >
_______________________________________________ application-builder mailing list [email protected] http://www.lispniks.com/mailman/listinfo/application-builder
