• barsoap@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    (e.g. want to play a video on a button in your spreadsheet app using mpv?

    You can definitely do that as wayland supports sub-compositors. You probably shouldn’t, though.

    • redcalcium@lemmy.institute
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      How do you that in wayland? I’m very interested with crazy and useless stuff like this. On X11, you can pass a window ID to mpv with --wid, it’ll attach the player to that window, even if that window is actually a button in a spreadsheet app.