From 79f4de9f7e1dd5d6cba2ba11b88173bcdca351b3 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 2 Aug 2024 19:36:31 -0700
Subject: [PATCH] Use SDL_PROP_APP_METADATA_IDENTIFIER_STRING for the app ID
---
src/core/unix/SDL_appid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/unix/SDL_appid.c b/src/core/unix/SDL_appid.c
index 30eaf16999182..4a3a53b222b89 100644
--- a/src/core/unix/SDL_appid.c
+++ b/src/core/unix/SDL_appid.c
@@ -59,7 +59,7 @@ const char *SDL_GetExeName(void)
const char *SDL_GetAppID(void)
{
- const char *id_str = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_NAME_STRING);
+ const char *id_str = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_IDENTIFIER_STRING);
if (!id_str) {
/* If the hint isn't set, try to use the application's executable name */