Uint32 windowID vs. SDL_Window* window

I noticed that while most window related functions are now using
SDL_Window* instead of SDL_WindowID or Uint32, the event structures
still use Uint32 windowID.

Is this a bug or is there a reason for this?

The window can be destroyed by the time the event is removed from the queue.On Sun, Feb 13, 2011 at 9:43 AM, Kenneth Bull wrote:

I noticed that while most window related functions are now using
SDL_Window* instead of SDL_WindowID or Uint32, the event structures
still use Uint32 windowID.

Is this a bug or is there a reason for this?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and CEO, Galaxy Gameworks

Ok.

Just found SDL_GetWindowID() and SDL_GetWindowFromID(), which takes
care of the next obvious question…On 13 February 2011 13:30, Sam Lantinga wrote:

The window can be destroyed by the time the event is removed from the queue.