Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Update the queued event wmmsg pointer to point to the queued event data.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 11, 2013
1 parent 6d0a8a6 commit 9a619b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/events/SDL_events.c
Expand Up @@ -206,6 +206,7 @@ SDL_AddEvent(SDL_Event * event)
entry->event = *event;
if (event->type == SDL_SYSWMEVENT) {
entry->msg = *event->syswm.msg;
entry->event.syswm.msg = &entry->msg;
}

if (SDL_EventQ.tail) {
Expand Down

0 comments on commit 9a619b0

Please sign in to comment.