diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 76564cc267ccb..a2a908bdc14ff 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1545,6 +1545,9 @@ static void *gui_thread(void *ptr) goto done; } + DwmSetWindowAttribute(w32->window, 20 /* DWMWA_USE_IMMERSIVE_DARK_MODE */, + &(BOOL){TRUE}, sizeof(BOOL)); + if (SUCCEEDED(OleInitialize(NULL))) { ole_ok = true;