Fixed extra mousemove events on Windows caused by certain apps, not users #1068

Merged
merged 1 commit into from Apr 25, 2014
Commits on Mar 9, 2014
  1. @download13

    Prevent mousemove spam

    download13 committed Mar 9, 2014
    Some platforms produce frequent mousemove events whether or not the mouse has moved. This causes the UI to always be displayed since userActive_ is always `true`. By keeping track of the last mouse position and only firing if the new position is different, we can eleminate the event spam.