src/events/SDL_events.c
branchSDL-1.3
changeset 1724 6c63fc2bd986
parent 1722 5daa04d862f1
child 1731 875c3cf1a12c
     1.1 --- a/src/events/SDL_events.c	Thu Jul 06 05:53:32 2006 +0000
     1.2 +++ b/src/events/SDL_events.c	Thu Jul 06 07:17:11 2006 +0000
     1.3 @@ -373,6 +373,12 @@
     1.4      return (used);
     1.5  }
     1.6  
     1.7 +SDL_bool
     1.8 +SDL_HasEvent(Uint32 mask)
     1.9 +{
    1.10 +    return (SDL_PeepEvents(NULL, 0, SDL_PEEKEVENT, mask) > 0);
    1.11 +}
    1.12 +
    1.13  /* Run the system dependent event loops */
    1.14  void
    1.15  SDL_PumpEvents(void)
    1.16 @@ -520,7 +526,7 @@
    1.17  /* This is a generic event handler.
    1.18   */
    1.19  int
    1.20 -SDL_PrivateSysWMEvent(SDL_SysWMmsg * message)
    1.21 +SDL_SendSysWMEvent(SDL_SysWMmsg * message)
    1.22  {
    1.23      int posted;
    1.24