processing/processing — pull request #2509 by jdf (2014-05-13 14:26:45+00:00)
Title: Permit mouse PRESS to set mouseX/mouseY.

If the sketch window happens to gain focus from the mouse press event, without this code, mouseX and mouseY are both 0 when mousePressed gets called.