From f8bf418a306201918e21a7609775a21dc1bee70d Mon Sep 17 00:00:00 2001 From: upcz Date: Sun, 24 May 2026 23:34:17 +0300 Subject: [PATCH] Added SDL_HINT_APP_NAME, which is required for things like pipewire correctly recognizing the application name --- src/SDLRenderingWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SDLRenderingWindow.cpp b/src/SDLRenderingWindow.cpp index 1516acf..5328ff0 100644 --- a/src/SDLRenderingWindow.cpp +++ b/src/SDLRenderingWindow.cpp @@ -249,6 +249,8 @@ void SDLRenderingWindow::CreateSDLWindow() SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); #endif + SDL_SetHint(SDL_HINT_APP_NAME, "projectM"); + _renderingWindow = SDL_CreateWindow("projectM", left, top, width, height, SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI); if (!_renderingWindow)