compositor: implement grab cursor changing