mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
Add App Id hint.
This commit is contained in:
parent
1376a73c55
commit
3f92779c70
1 changed files with 2 additions and 0 deletions
|
|
@ -150,6 +150,8 @@ int Window_OnSDLEvent(void*, SDL_Event* event)
|
||||||
void GameWindow::Init(bool sdlVideoDefault)
|
void GameWindow::Init(bool sdlVideoDefault)
|
||||||
{
|
{
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
SDL_SetHint("SDL_APP_ID", "io.github.hedge_dev.unleashedrecomp");
|
||||||
|
|
||||||
if (!sdlVideoDefault)
|
if (!sdlVideoDefault)
|
||||||
{
|
{
|
||||||
int videoRes = SDL_VideoInit("wayland");
|
int videoRes = SDL_VideoInit("wayland");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue