Skip to content

Commit 126b889

Browse files
authored
Update MainWindow.xaml.cs
1 parent fa3bce1 commit 126b889

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Files.App/MainWindow.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public MainWindow()
3535
AppWindow.TitleBar.ButtonPressedBackgroundColor = Colors.Transparent;
3636
AppWindow.TitleBar.ButtonHoverBackgroundColor = Colors.Transparent;
3737
AppWindow.SetIcon(AppLifecycleHelper.AppIconPath);
38+
39+
if (AppLifecycleHelper.IsAutoHideTaskbarEnabled())
40+
Win32PInvoke.SetPropW(WindowHandle, "NonRudeHWND", new IntPtr(1));
3841
}
3942

4043
public void ShowSplashScreen()

0 commit comments

Comments
 (0)