Skip to content

Commit

Permalink
Changed default mica material to normal Micaa
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-balades committed Dec 5, 2024
1 parent 1a95a6c commit 6902d5f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/widget/windows/nsWindow-cpp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp
index 00681c216c838efedbbcded9d6b843dbd8b5b0b6..9e0450e4258373327faa7d58b5b9f851ab4082a5 100644
--- a/widget/windows/nsWindow.cpp
+++ b/widget/windows/nsWindow.cpp
@@ -1075,7 +1075,7 @@ nsresult nsWindow::Create(nsIWidget* aParent, const LayoutDeviceIntRect& aRect,

if (WinUtils::MicaEnabled() && !IsPopup()) {
// Enable Mica Alt Material if available.
- const DWM_SYSTEMBACKDROP_TYPE tabbedWindow = DWMSBT_TABBEDWINDOW;
+ const DWM_SYSTEMBACKDROP_TYPE tabbedWindow = DWMSBT_MAINWINDOW;
DwmSetWindowAttribute(mWnd, DWMWA_SYSTEMBACKDROP_TYPE, &tabbedWindow,
sizeof tabbedWindow);
}

0 comments on commit 6902d5f

Please sign in to comment.