ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.98k stars 198 forks source link

Clipboard sync between game and host wayland not working #1440

Open neonmoe opened 1 month ago

neonmoe commented 1 month ago

Minimal reproduction steps:

  1. Run gamescope emacs (or Crusader Kings III, where I first noticed this, or presumably some other applications)
  2. (Write something, select text, and) copy text.
  3. Try to paste into a wayland or xwayland window outside of gamescope.

What happens: nothing is pasted.

What I expect: the text from inside gamescope is pasted.

Adding --backend wayland didn't help, at least.

Joshua-Ashton commented 1 month ago

That feature is not implemented on the Wayland backend -- just --backend sdl at the moment.

I imagine it's a good first issue for someone to tackle.

neonmoe commented 1 month ago

Oh, I didn't even realize to check, good to know! Apparently indeed copying from wayland/xwayland to the gamescoped application works (with --backend sdl), but I can't seem to copy from the game (/emacs in the example) to wayland/xwayland.