diff --git a/assets/com.complecwaft.Looper.desktop b/assets/com.complecwaft.Looper.desktop index b0a40d2..5bc988d 100755 --- a/assets/com.complecwaft.Looper.desktop +++ b/assets/com.complecwaft.Looper.desktop @@ -6,7 +6,7 @@ Comment=An audio player that can properly loop audio files GenericName=Looping audio player Exec=looper -n %f Icon=looper -StartupWMClass=looper;com.complecwaft.Looper;com.complecwaft.Looper.GTK +StartupWMClass=looper MimeType=audio/x-wav;audio/ogg;audio/x-vorbis+ogg;audio/x-opus+ogg;audio/mpeg;audio/flac;audio/xm;audio/x-mod;audio/x-zsound; Categories=Audio;AudioVideo; Terminal=false diff --git a/backends/ui/imgui/main.cpp b/backends/ui/imgui/main.cpp index 8a04cbd..0a20c52 100644 --- a/backends/ui/imgui/main.cpp +++ b/backends/ui/imgui/main.cpp @@ -731,6 +731,7 @@ void ImGuiUIBackend::QuitHandler() { // Main code int ImGuiUIBackend::run(std::vector realArgs, int argc, char** argv) { + SDL_setenv("SDL_VIDEO_X11_WMCLASS", "looper"); int possible_error = UIBackend::run(realArgs, argc, argv); if (possible_error != 0) { return possible_error; diff --git a/debian/changelog b/debian/changelog index 1452598..1bb16ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +looper (1.dev3) UNRELEASED; urgency=medium + + * Set window class in ImGui UI and also only use one StartupWMClass in the + desktop launcher file. + + -- Zachary Hall Thu, 19 Dec 2024 14:00:00 -0800 looper (1.dev2) UNRELEASED; urgency=medium * Fix QT UI endlessly setting parameters and seeking