Skip to content

Commit

Permalink
commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Pfeiffer committed Sep 3, 2020
1 parent d141690 commit e35acd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src_c/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1798,6 +1798,9 @@ pg_event_post(PyObject *self, PyObject *args)
return NULL;
}
else {
/* HACK:
A non-USEREVENT type is treated like a USEREVENT union in the SDL2
event queue. This needs to be decoded again. */
if (pgEvent_FillUserEvent(e, &event))
return NULL;
}
Expand Down

0 comments on commit e35acd6

Please sign in to comment.