Hi Sam,
I have a question regarding the SDL_QuitEvent in SDL 1.3.
The way I understand things (and according to the wiki entry), an
SDL_QuitEvent is generated when the user closes the window via the
window handles. However, I was under the impression that SDL 1.3 allows
for multiple windows.
If the above is true, then there is no way to determine (by the
SDL_QuitEvent alone) which window was closed, if you had a
multi-windowed application.
Would it not make sense to add a WindowID member to the SDL_QuitEvent,
as for most other event structs as well?
BR,
Matthias
sparklehorse wrote:
Hi Sam,
I have a question regarding the SDL_QuitEvent in SDL 1.3.
The way I understand things (and according to the wiki entry), an
SDL_QuitEvent is generated when the user closes the window via the
window handles. However, I was under the impression that SDL 1.3 allows
for multiple windows.
If the above is true, then there is no way to determine (by the
SDL_QuitEvent alone) which window was closed, if you had a
multi-windowed application.
Would it not make sense to add a WindowID member to the SDL_QuitEvent,
as for most other event structs as well?
BR,
Matthias
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
You should check for closed window notification in the window event structure.------------------------
EM3 Nathaniel Fries, U.S. Navy
http://natefries.net/