fix: hint window manager not to disable compositing

This commit is contained in:
Alessandro Mauri 2026-07-29 00:49:40 +02:00
parent cd371b5ee7
commit 6c2f3fc283

View File

@ -172,6 +172,8 @@ $else
sdl3::setHint("SDL_RENDER_GPU_DEBUG", "1"); sdl3::setHint("SDL_RENDER_GPU_DEBUG", "1");
$endif $endif
sdl3::setHint("SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR", "0");
// init subsystems // init subsystems
if (!sdl3::init({.video=true})) { if (!sdl3::init({.video=true})) {
unreachable("sdl error: %s", sdl3::getError()); unreachable("sdl error: %s", sdl3::getError());