-
-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
added window icon support for wayland #1559
Conversation
As indicated below, your changes fail to build on most linux distros... You should check that your code properly compiles with different library versions before opening a pull request. I guess there's a reason why (as stated in the contributing.md and PR template) I don't accept code pull requests, even a single line one manages to be broken... |
And at least for Plasma Wayland the string has to be "sdrpp" as it must match the icon file basename to show up. |
Thank you for bringing this to my attention! I initially focused on testing the functionality in my current environment, which uses the latest versions of the libraries. I didn't anticipate issues with older versions, as I assumed compatibility would be maintained across versions. Moving forward, I'll make sure to test the code on different library versions and fix any build issues before submitting an updated PR. |
I am not really sure what you mean as I use plasma myself and it showed up fine with "SDR++", and not "sdrpp", as it should match the name of the .desktop file, maybe you got the names mixed up? |
I built your branch with the sdrpp-git AUR PKGBUILD and had no titlebar icon when it was "SDR++". Changing it to "sdrpp" worked. I think I have the normal desktop file as provided by SDR++. My testing confirmed my understanding of the behavior. The hint has to match the name of the .desktop file itself.
|
Thanks for clearing up the confusion Parker. Wired how in my case it worked with "SDR++". I will double check it. Thanks |
Thanks for your patience everyone. I have fixed all the mentioned issues so it should now build for older versions of glfw. The issue arises because the GLFW_WAYLAND_APP_ID macro is specific to newer versions of GLFW, which I only found out later. Let me know if you need any further adjustments. Thanks! |
Added support for SDR++ to show the correct window icon under wayland sessions, instead of the default wayland one. As you can see in this screenshot:
