fix: hint window manager not to disable compositing
This commit is contained in:
parent
cd371b5ee7
commit
6c2f3fc283
@ -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());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user