Skip to content

xwayland: Small refactoring of the cursor code

While investigating !768 (merged) I was confused but the code:

  1. Two different functions in xwayland-input.c and xwayland-cursor.c share the same name xwl_seat_update_cursor(),
  2. xwl_release_cursor() is implemented in xwayland-input.c while it's a cursor function,
  3. The codedealing with teh cursor frame callback is duplicated in multiple places between xwayland-input.c and xwayland-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

Merge request reports