test/testwm.c
changeset 2179 8b76cc268771
parent 2060 866052b01ee5
child 2185 2032348afed1
equal deleted inserted replaced
2178:114a541cfae2 2179:8b76cc268771
   173     printf("Posting internal quit request\n");
   173     printf("Posting internal quit request\n");
   174     event.type = SDL_USEREVENT;
   174     event.type = SDL_USEREVENT;
   175     SDL_PushEvent(&event);
   175     SDL_PushEvent(&event);
   176 }
   176 }
   177 
   177 
   178 static int SDLCALL(*old_filterfunc) (void *, SDL_Event *);
   178 static int (SDLCALL *old_filterfunc) (void *, SDL_Event *);
   179 static void *old_filterdata;
   179 static void *old_filterdata;
   180 
   180 
   181 int SDLCALL
   181 int SDLCALL
   182 FilterEvents(void *userdata, SDL_Event * event)
   182 FilterEvents(void *userdata, SDL_Event * event)
   183 {
   183 {