fix: hint window manager not to disable compositing
This commit is contained in:
parent
cd371b5ee7
commit
6c2f3fc283
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue