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

Implementing set_window_icon on Linux #103

Open
GreenXenith opened this issue Sep 25, 2019 · 0 comments
Open

Implementing set_window_icon on Linux #103

GreenXenith opened this issue Sep 25, 2019 · 0 comments
Labels

Comments

@GreenXenith
Copy link
Contributor

GreenXenith commented Sep 25, 2019

Opening this because I don't currently understand how to execute the theoretical steps.

In theory, this is achieved by loading the image, converting to RGBA, turning it into a pixmap, and setting it as the _NET_WM_ICON property using XChangeProperty.
Someone with more understanding of C++ and images should be able to implement this with relative ease.

It is worth noting xseticon, which uses libgd for color conversions and loading, but I am not certain if this is helpful.

@britzl britzl added the linux label Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants