News for hackers. Stuff that matters.
Re:Show HN: High performance X11 animated wallpapers by Polylactic_acid on Sunday August 02, 2020 @10:29PM (#24033642)
Really it should be something built in to the DE. You need it to stop rendering when the background is covered.
Re:Show HN: High performance X11 animated wallpapers by microcolonel on Sunday August 02, 2020 @10:37PM (#24033691)
You can accomplish this with straight X11, no need for the DE to be aware of it.
Re:Show HN: High performance X11 animated wallpapers by pengaru on Sunday August 02, 2020 @11:33PM (#24033967)
I don't think that's so trivial in a composited world. IIRC once upon a time you could easily get a viewable state from the X server for windows, but with compositing xorg made it basically always true.
Re:Show HN: High performance X11 animated wallpapers by cycloptic on Monday August 03, 2020 @09:52AM (#24037748)
In wayland it's very simple. You would use surface frame callbacks, which aren't supposed to trigger when the window is fully obscured, minimized, or off-screen on another desktop. This mechanism never seems to have made it back into composited X.
Re:Show HN: High performance X11 animated wallpapers by Polylactic_acid on Monday August 03, 2020 @07:16PM (#24044630)
>In wayland it's very simple

This seems to be the trend

Re:Show HN: High performance X11 animated wallpapers by bkor on Monday August 03, 2020 @09:50AM (#24037719)
GNOME has backgrounds which change over the day. That's entirely different from animated though. Reading the GNOME config file, seems the background slowly transitions (fades) from one picture to another. See https://gitlab.gnome.org/GNOME/gnome-backgrounds/-/blob/mast...