Skip to content

xwm clipboard sync, 2nd edition

Simon Ser requested to merge github/fork/emersion/xwm-selection into master
  • MIME type from xwayland to wayland
  • MIME type from wayland to xwayland
  • Fix xclip
  • Don't send selection to clients that don't have focus

Weston doesn't implement selection MIME types, so we can't use it as a starting point.

Test plan:

  • Copy text in wayland, paste it in xwayland
  • Copy text in xwayland, paste it in wayland
  • Copy text in xwayland, paste it in xwayland
  • Same with rich text
  • Copy something, run xclip -o -t TARGETS -selection clipboard, check MIME types
  • Copy something, run xclip -o -selection clipboard
  • Run echo "poi" | xclip -i -selection clipboard, paste somewhere

Test clients:

  • Wayland: gedit, epiphany, lowriter
  • Xwayland: gedit, chromium, lowriter

Updates #295

Merge request reports