IMO special-casing it in the window classes would be better than special casing it here.  Perhaps some additional information can be appended to the event so that the window classes know that this is a pointer position event, rather than a mouse move event and respond appropriately?  Focus should still be set, but popping up the OSDs etc. can be ignored.