win.rs: SImplified cursor pos callback