From 44f2ef26f6b56fc8ff59ea0d206b80a413b766dc Mon Sep 17 00:00:00 2001 From: DepressedTWM Date: Mon, 18 May 2026 11:27:23 +0400 Subject: [PATCH] Fixes and other bullshit x2 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index a910190..295c54c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -225,11 +225,11 @@ int main(int argc, char *argv[]){ SDL_SetHint(SDL_HINT_APP_NAME, "Oneshot: Sunshine"); SDL_SetHint(SDL_HINT_AUDIO_DEVICE_STREAM_NAME, "Oneshot: sunshine"); SDL_SetHint(SDL_HINT_AUDIO_DEVICE_STREAM_ROLE, "Game"); - #if defined(__linux__) && SDL_VERSION_ATLEAST(3, 4, 10) + #if defined(__linux__ || BSD || __sun) && SDL_VERSION_ATLEAST(3, 4, 10) SDL_SetHint(SDL_HINT_VIDEO_X11_ENABLE_XSYNC_EXT, "1"); #endif //X11 work on *BSD,Solaris too! -#if defined(__linux__) || defined(BSD) || defined(__sun) +#if defined(__linux__ || BSD || __sun) SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); #endif