From 7853a988da736ee220c1bfef87c54903552c25fa Mon Sep 17 00:00:00 2001 From: Aleksandr Pasechnik Date: Tue, 8 Jul 2025 15:27:21 -0400 Subject: [PATCH] do not block screensaver on behalf of uxnemu --- src/uxnemu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uxnemu.c b/src/uxnemu.c index 6bea293..4a55c18 100644 --- a/src/uxnemu.c +++ b/src/uxnemu.c @@ -257,6 +257,7 @@ emu_init_audio(void) static int emu_init(void) { + SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_JOYSTICK) < 0) return system_error("sdl", SDL_GetError()); emu_init_audio();