compositor: Split pointer motion code into its own function
compositor: Split pointer motion code into its own function

giucam/weston,Tarnyko/weston-xdg_surface_present,jonnylamb/weston,udoprog/weston,Tarnyko/weston-xdg_surface_present,mchalupa/weston,Gnurou/weston,udoprog/weston,eyolfson/weston,xorgy/weston,Fantu/compositor-spice,giucam/weston,Fantu/compositor-spice,Fantu/compositor-spice,eyolfson/weston,xorgy/weston,krezovic/weston,krezovic/weston,sir-murray/weston,jonnylamb/weston,mchalupa/weston,kwm81/weston,sir-murray/weston,Gnurou/weston,kwm81/weston