@@ -166,8 +166,8 @@ void MainWindow::enableAcrylicBlur() {
166166 DwmExtendFrameIntoClientArea (hwnd, &margins);
167167
168168 // Step 2: Try Windows 11 system backdrop (DWMWA_SYSTEMBACKDROP_TYPE = 38)
169- // Value 2 = DWMSBT_MAINWINDOW (Mica) — same as File Explorer
170- int backdropType = 2 ;
169+ // Value 3 = DWMSBT_TRANSIENTWINDOW (Acrylic — see-through blur)
170+ int backdropType = 3 ;
171171 HRESULT hr = DwmSetWindowAttribute (hwnd, 38 , &backdropType, sizeof (backdropType));
172172
173173 // Step 3: If Win11 backdrop failed, use SetWindowCompositionAttribute (Win10 1803+)
@@ -192,7 +192,7 @@ void MainWindow::enableAcrylicBlur() {
192192 ACCENT_POLICY policy = {};
193193 policy.AccentState = 4 ; // ACCENT_ENABLE_ACRYLICBLURBEHIND
194194 policy.AccentFlags = 2 ; // ACCENT_FLAG_DRAW_ALL
195- policy.GradientColor = 0x66191B21 ; // AABBGGRR — lighter tint for subtle blur
195+ policy.GradientColor = 0x33191B21 ; // AABBGGRR — very light tint, mostly see-through
196196
197197 WINDOWCOMPOSITIONATTRIBDATA data = {};
198198 data.Attrib = 19 ; // WCA_ACCENT_POLICY
@@ -266,10 +266,10 @@ void MainWindow::paintEvent(QPaintEvent* event) {
266266 painter.setRenderHint (QPainter::Antialiasing);
267267
268268 // ── Semi-transparent dark background allowing desktop blur to show through ──
269- // Lower alpha = more see-through (like File Explorer's Mica effect )
269+ // Very low alpha = see-through window (like File Explorer)
270270 QLinearGradient bgGrad (0 , 0 , rect ().width (), rect ().height ());
271- QColor color1 (25 , 27 , 33 ); color1.setAlpha (115 ); // ~45 % opacity — subtle like File Explorer
272- QColor color2 (18 , 19 , 23 ); color2.setAlpha (115 );
271+ QColor color1 (25 , 27 , 33 ); color1.setAlpha (60 ); // ~24 % opacity — very see-through
272+ QColor color2 (18 , 19 , 23 ); color2.setAlpha (60 );
273273 bgGrad.setColorAt (0.0 , color1);
274274 bgGrad.setColorAt (1.0 , color2);
275275 painter.fillRect (rect (), bgGrad);
0 commit comments