diff --git a/src/Files.App/MainWindow.xaml.cs b/src/Files.App/MainWindow.xaml.cs index e80e55247649..40091b1142de 100644 --- a/src/Files.App/MainWindow.xaml.cs +++ b/src/Files.App/MainWindow.xaml.cs @@ -35,6 +35,9 @@ public MainWindow() AppWindow.TitleBar.ButtonPressedBackgroundColor = Colors.Transparent; AppWindow.TitleBar.ButtonHoverBackgroundColor = Colors.Transparent; AppWindow.SetIcon(AppLifecycleHelper.AppIconPath); + + if (AppLifecycleHelper.IsAutoHideTaskbarEnabled()) + Win32PInvoke.SetPropW(WindowHandle, "NonRudeHWND", new IntPtr(1)); } public void ShowSplashScreen()