Skip to content

Commit

Permalink
fix: remove backdrop on default
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLuo0 committed Dec 26, 2024
1 parent 5a507d6 commit 492d49f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Kvantum/style/blur/blurhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ bool BlurHelper::eventFilter(QObject *watched, QEvent *event) {
}

void BlurHelper::applyBackdrop(QWidget *widget) {
if (blurType == -1) return;

HWND hwnd = (HWND)widget->winId();

DwmExtendFrameIntoClientArea(hwnd, &margins);
Expand All @@ -123,4 +125,4 @@ void BlurHelper::applyBackdrop(QWidget *widget) {
DWMWINDOWATTRIBUTE::DWMWA_WINDOW_CORNER_PREFERENCE,
&corner, sizeof(corner));
}
} // namespace Kvantum
} // namespace Kvantum

0 comments on commit 492d49f

Please sign in to comment.