Skip to content

xdg-toplevel-icon: allow replacing previously-set icon sizes#1945

Merged
cmeissl merged 1 commit intoSmithay:masterfrom
kelnos:xdg-toplevel-icon-allow-replace-sizes
Feb 26, 2026
Merged

xdg-toplevel-icon: allow replacing previously-set icon sizes#1945
cmeissl merged 1 commit intoSmithay:masterfrom
kelnos:xdg-toplevel-icon-allow-replace-sizes

Conversation

@kelnos
Copy link
Copy Markdown
Contributor

@kelnos kelnos commented Feb 26, 2026

Description

The icon sizes are replaced atomically with the newly-provided icons. Clients that bind to the interface in the future will get the new set of icons. However, existing client binds will not be notified, as it's unclear if this is allowed by the protocol.

Closes #1944

Checklist

[x] I agree to smithay's Developer Certificate of Origin.

Copy link
Copy Markdown
Collaborator

@cmeissl cmeissl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beside the comment LGTM

Thanks!

The icon sizes are replaced atomically with the newly-provided icons.
Clients that bind to the interface in the future will get the new set of
icons.  However, existing client binds will not be notified, as it's
unclear if this is allowed by the protocol.

Closes Smithay#1944
@kelnos kelnos force-pushed the xdg-toplevel-icon-allow-replace-sizes branch from 6db73d6 to 3529eff Compare February 26, 2026 20:31
Copy link
Copy Markdown
Collaborator

@cmeissl cmeissl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cmeissl cmeissl merged commit f1d0d2c into Smithay:master Feb 26, 2026
14 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.

XdgToplevelIconManager's perhaps needs a way to clear icon sizes

2 participants