Skip to content

wayland/background-effect: attach effect surface when manager global appears late - #909

Open
bbedward wants to merge 1 commit into
quickshell-mirror:masterfrom
bbedward:ext-bg-effect-active-changed
Open

wayland/background-effect: attach effect surface when manager global appears late#909
bbedward wants to merge 1 commit into
quickshell-mirror:masterfrom
bbedward:ext-bg-effect-active-changed

Conversation

@bbedward

@bbedward bbedward commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

If the compositor announces ext_background_effect_manager_v1 after a surface is created, ext-background-effect will not apply to the surface. I'm not sure if this is a

With niri at least, this happens at compositor startup in some cases (AvengeMedia/DankMaterialShell#2856), I'm not sure if this is a bug on niri's side as I haven't looked at that side much but in either case it makes sense to react to it if the protocol becomes available lazily.

This adds listener to activeChanged to attach the effect to the surface when it becomes active.

@bbedward
bbedward force-pushed the ext-bg-effect-active-changed branch from 815ba8f to 7184c08 Compare July 21, 2026 13:29
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