From dfd888a80a473ac0167a5cdd7d7ca6bc30056223 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Sun, 2 Feb 2025 00:50:26 +0300 Subject: [PATCH] don't bypass x11 compositor --- src/twn_loop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/twn_loop.c b/src/twn_loop.c index 12e2130..ce9bb86 100644 --- a/src/twn_loop.c +++ b/src/twn_loop.c @@ -674,6 +674,8 @@ static bool initialize(void) { SDL_WaitThread(opengl_load_thread, NULL); profile_end("opengl loading"); + SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); + /* TODO: investigate viability of detached thread driver and window creation, as it's the worst load time offender */ profile_start("window creation"); ctx.window = SDL_CreateWindow(ctx.title,