Set explicit X11 class name in ImGui backend, and only use one WMClass in .desktop file
Some checks failed
Build / build-gentoo (push) Failing after 1m3s
Build / download-system-deps (push) Successful in 3m28s
Build / get-source-code (push) Successful in 10m15s
Build / build-deb (push) Failing after 6m7s
Build / build-appimage (push) Successful in 4m32s
Build / build-android (push) Failing after 3m2s
Build / build-windows (push) Failing after 7m25s
Some checks failed
Build / build-gentoo (push) Failing after 1m3s
Build / download-system-deps (push) Successful in 3m28s
Build / get-source-code (push) Successful in 10m15s
Build / build-deb (push) Failing after 6m7s
Build / build-appimage (push) Successful in 4m32s
Build / build-android (push) Failing after 3m2s
Build / build-windows (push) Failing after 7m25s
This commit is contained in:
parent
2c2892e0db
commit
775505120b
3 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -731,6 +731,7 @@ void ImGuiUIBackend::QuitHandler() {
|
|||
// Main code
|
||||
int ImGuiUIBackend::run(std::vector<std::string> 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;
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -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 <catmeow@complecwaft.com> Thu, 19 Dec 2024 14:00:00 -0800
|
||||
looper (1.dev2) UNRELEASED; urgency=medium
|
||||
|
||||
* Fix QT UI endlessly setting parameters and seeking
|
||||
|
|
Loading…
Reference in a new issue