Skip to content

Commit

Permalink
Update classic-browser-fix.wh.cpp (#777)
Browse files Browse the repository at this point in the history
plus Brave browser, mitigate reported issues in File Picker
  • Loading branch information
Anixx authored Jul 6, 2024
1 parent 97fac6c commit 77c66fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mods/classic-browser-fix.wh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
// @id classic-browser-fix
// @name Fix browsers for Windows Classic theme
// @description Forces the border from Aero Light theme to fix glitched border in Classic theme
// @version 1.1
// @version 1.2
// @author Anixx
// @github https://github.com/Anixx
// @include msedge.exe
// @include chrome.exe
// @include chromium.exe
// @include Skype.exe
// @include steam.exe
// @include brave.exe

// @compilerOptions -luxtheme
// ==/WindhawkMod==
Expand All @@ -29,6 +30,6 @@ which fixes their glitches when using Windows Classic theme.

BOOL Wh_ModInit() {
Wh_Log(L"Init");
SetThemeAppProperties(0);
SetThemeAppProperties(STAP_ALLOW_CONTROLS); // Reported problems in File Picker without this flag.
return TRUE;
}

0 comments on commit 77c66fb

Please sign in to comment.