Since it's not possible to determine the mouse coordinates without the mouse being moved, as an alternative to continually tracking the mouse coordinates behind the scenes, a dummy "mousemove" event is fired when the mouse coordinates display is first enabled and placeholders are displayed with "--" in place for the actual coordinate values. As soon as the mouse is moved the placeholders are replaced with the computed mouse coordinates.
Since it's not possible to determine the mouse coordinates without the mouse being moved, as an alternative to continually tracking the mouse coordinates behind the scenes, a dummy "mousemove" event is fired when the mouse coordinates display is first enabled and placeholders are displayed with "--" in place for the actual coordinate values. As soon as the mouse is moved the placeholders are replaced with the computed mouse coordinates.