File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434#endif
3535
3636#include " DiabloUI/diabloui.h"
37+ #include " config.h"
3738#include " control.h"
3839#include " controls/controller.h"
3940#ifndef USE_SDL1
@@ -511,6 +512,12 @@ bool SpawnWindow(const char *lpWindowName)
511512#endif
512513
513514#ifdef USE_SDL3
515+ SDL_SetAppMetadataProperty (SDL_PROP_APP_METADATA_NAME_STRING, PROJECT_NAME);
516+ SDL_SetAppMetadataProperty (SDL_PROP_APP_METADATA_VERSION_STRING, PROJECT_VERSION);
517+ SDL_SetAppMetadataProperty (SDL_PROP_APP_METADATA_IDENTIFIER_STRING, " org.diasurgical.devilutionx" );
518+ SDL_SetAppMetadataProperty (SDL_PROP_APP_METADATA_URL_STRING, " https://devilutionx.com" );
519+ SDL_SetAppMetadataProperty (SDL_PROP_APP_METADATA_TYPE_STRING, " game" );
520+
514521 SDL_SetHint (SDL_HINT_RETURN_KEY_HIDES_IME, " 1" );
515522#endif
516523#if SDL_VERSION_ATLEAST(2, 0, 4) && !defined(USE_SDL3)
You can’t perform that action at this time.
0 commit comments