dannycalleri/toast — pull request #2 by bmprovan (2013-05-15 01:06:49+00:00)
Title: Touched up the event loop.

The event loop was only processing one event at a time, causing significant slowdowns. This is most noticeable in the console when you drag out a selection box.

The best solution to this is to have it process all events currently in the event queue per frame. I modified the event manager to do exactly that.

The commit is kind of scary cause it shows a lot of changes, this is just because I reformatted the function. There is only 4-5 lines actually changed.