xwayland: Small refactoring of the cursor code
While investigating !768 (merged) I was confused but the code:
- Two different functions in
xwayland-input.c
andxwayland-cursor.c
share the same namexwl_seat_update_cursor()
, -
xwl_release_cursor()
is implemented inxwayland-input.c
while it's a cursor function, - The codedealing with teh cursor frame callback is duplicated in multiple places between
xwayland-input.c
andxwayland-cursor.c
This is an attempt to address those inconsistencies, there should be no functional change here.
Goes on top of and includes !768 (merged)
CC: @carlosg