libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
9.62k stars 1.78k forks source link

Is it possible to backport Wayland xdg-toplevel-icon support to SDL2? #11086

Open PQCraft opened 1 day ago

PQCraft commented 1 day ago

I went through the code in the SDL2 branch and I see that SDL2 does not have support for setting the window icon using xdg-toplevel-icon. As far as I can tell, it should basically be a copy, paste, and some name changing. I tried doing it myself but am not very familiar with the codebase and gave up after a while.

Kontrabant commented 22 hours ago

It should be fairly simple. Do note that no desktops are actually shipping support for it just yet, so it won't do much right now.