Skip to content

backgrounds: Improve wayland session support.#13614

Merged
mtwebster merged 1 commit intolinuxmint:masterfrom
mtwebster:wayland-backgrounds
Mar 2, 2026
Merged

backgrounds: Improve wayland session support.#13614
mtwebster merged 1 commit intolinuxmint:masterfrom
mtwebster:wayland-backgrounds

Conversation

@mtwebster
Copy link
Member

@mtwebster mtwebster commented Mar 2, 2026

  • Muffin can provide background actors for both session types. Wayland's will depend on wlr-layer-shell background layer surfaces.
  • Throwaway background actors are now per-monitor (with a convenience wrapper for a combined one in Main.js.
  • Meta.create_background_for_monitor() for throwaway actors works regardless of session type, use this and remove all wayland checks.
  • cinnamon-global: Add global.get_background_actors() to access stage wallpaper actors, mark 'background-actor' as deprecated. It returns NULL. Main.createFullScreenBackground() can be used as a replacement for a single actor spanning the stage.
  • Mark Meta.BackgroundActor.new_for_screen() as deprecated, it will only return the first monitor's background in X11 mode now, and an empty ClutterActor otherwise (like before).

requires:
linuxmint/muffin#803

- Muffin can provide background actors for both session types.
  Wayland's will depend on wlr-layer-shell background layer surfaces.
- Throwaway background actors are now per-monitor (with a convenience
  wrapper for a combined one in Main.js.
- Meta.create_background_for_monitor() for throwaway actos works
  regardless of session type, use this and remove all wayland checks.
- cinnamon-global: Add global.get_background_actors() to access
  stage wallpaper actors, mark 'background-actor' as deprecated.
  It returns NULL. Main.createFullScreenBackground() can be used as
  a replacement for a single actor spanning the stage.
- Mark Meta.BackgroundActor.new_for_screen() as deprecated, it will
  only return the first monitor's background in X11 mode now, and
  an empty ClutterActor otherwise (like before).
@mtwebster mtwebster force-pushed the wayland-backgrounds branch from bc12ed6 to 976408d Compare March 2, 2026 16:02
@mtwebster mtwebster merged commit c8e0288 into linuxmint:master Mar 2, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant