609
No rest for the virtuous (lemmy.dbzer0.com)
you are viewing a single comment's thread
view the rest of the comments
[-] Smorty@lemmy.blahaj.zone 16 points 9 months ago

its crazy to think that such an old display server is still being used and even defended to this day. X these days feels like a small thing with way too many extensions.

[-] redcalcium@lemmy.institute 2 points 9 months ago

It has many neat little features that will never get implemented into Wayland for security reason (e.g. want to play a video on a button in your spreadsheet app using mpv?). It was fun while it lasted, but the next generation will never be able to experience it.

[-] barsoap@lemm.ee 4 points 9 months 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 1 points 9 months 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.

[-] barsoap@lemm.ee 1 points 9 months ago

You implement the wayland server interface, launch mpv with the right environment to connect to you, then you take the buffer mpv gives you and compose it onto your window.

this post was submitted on 30 Oct 2023
609 points (97.2% liked)

Programmer Humor

31687 readers
445 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS