From 737da40bbd54c2ce3fa890f59901951615c63985 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Wed, 21 Jan 2026 00:42:36 +0100 Subject: [PATCH] fix: change accent_state close #309 --- windows/runner/mpv/mpv_core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/runner/mpv/mpv_core.cpp b/windows/runner/mpv/mpv_core.cpp index c427a9d2..b34148c0 100644 --- a/windows/runner/mpv/mpv_core.cpp +++ b/windows/runner/mpv/mpv_core.cpp @@ -97,7 +97,7 @@ void MpvCore::SetVisible(bool visible) { ::SetWindowPos(flutter_window_, nullptr, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE); if (!composition_enabled_) { - SetWindowComposition(flutter_window_, 6, 0); + SetWindowComposition(flutter_window_, 2, 0); composition_enabled_ = true; } ::ShowWindow(container_, SW_SHOWNOACTIVATE); @@ -160,7 +160,7 @@ std::optional MpvCore::WindowProc(HWND hwnd, UINT message, ::SetWindowPos(flutter_window_, nullptr, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE); if (!composition_enabled_) { - SetWindowComposition(flutter_window_, 6, 0); + SetWindowComposition(flutter_window_, 2, 0); composition_enabled_ = true; } ::ShowWindow(container_, SW_SHOWNOACTIVATE);