Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the xdg-toplevel-icon protocol #320

Open
danielfrrrr opened this issue Jan 16, 2025 · 2 comments
Open

Support for the xdg-toplevel-icon protocol #320

danielfrrrr opened this issue Jan 16, 2025 · 2 comments

Comments

@danielfrrrr
Copy link

Hello, wayland has a new protocol for clients to set their window icons.

Does sfwbar intend to support this protocol? It's a very exciting protocol, since not all programs have a desktop entry, such as most programs run through wine.

On the wlroots side, support for the protocol has just been landed, so I believe that some compositors will soon be using this protocol.

On the client side, in wine there is a pending MR, which can be used for testing.

@LBCrion
Copy link
Owner

LBCrion commented Jan 16, 2025

I've been following this protocol in wayland-protocols, but unfortunately it won't be enough on it's own to solve the icon issue in bars.

This protocol provides means for an application to expose an icon to a compositor. What it doesn't provide is means for the compositor to share this icon with other applications (such as sfwbar). I think the most likely candidate for this missing step would be ext-foreign-toplevel-info, but I don't think transmission of icons has been discussed in this protocol so far.

@danielfrrrr
Copy link
Author

I've been following this protocol in wayland-protocols, but unfortunately it won't be enough on it's own to solve the icon issue in bars.

This protocol provides means for an application to expose an icon to a compositor. What it doesn't provide is means for the compositor to share this icon with other applications (such as sfwbar). I think the most likely candidate for this missing step would be ext-foreign-toplevel-info, but I don't think transmission of icons has been discussed in this protocol so far.

I get it. Thanks for the info, I didn't know about this limitation. :O

Since this protocol is currently unusable for sfwbar, should I close this issue?

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

No branches or pull requests

2 participants