Add App Id hint.

This commit is contained in:
Dario 2024-12-20 16:47:29 -03:00
parent 1376a73c55
commit 3f92779c70

View file

@ -150,6 +150,8 @@ int Window_OnSDLEvent(void*, SDL_Event* event)
void GameWindow::Init(bool sdlVideoDefault)
{
#ifdef __linux__
SDL_SetHint("SDL_APP_ID", "io.github.hedge_dev.unleashedrecomp");
if (!sdlVideoDefault)
{
int videoRes = SDL_VideoInit("wayland");