Add a class to efficiently poll the pointer position, stopping polling when the user is idle. https://bugzilla.gnome.org/show_bug.cgi?id=682310