mcedit/mcedit — pull request #74 by jedediah (2012-04-10 07:20:05+00:00)
Title: fix mouse jumping bug

This looks like a pygame bug and it may be Mac only. The first mouse move event after (re)gaining focus and then hiding the cursor has incorrect relative coordinates, causing the mouse to jump to some extreme. I used a state variable to detect the condition and drop the event.