Skip to content

xwayland/selection: rename Wayland-facing data and helpers

Simon Ser requested to merge github/fork/Xyene/rename-source-fd into master

Created by: Xyene

Previously, wlr_xwm_selection_transfer.source_fd meant:

  • the source of data in a Wayland -> X11 copy (good)
  • the destination of data in a X11 -> Wayland copy (confusing)

This made reading through xwayland/selection/incoming.c difficult: in many places, "source" actually means "destination".

Merge request reports