don't bypass x11 compositor

This commit is contained in:
veclavtalica 2025-02-02 00:50:26 +03:00
parent 695784301d
commit dfd888a80a

View File

@ -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,