diff --git a/src/modules/powerdisplay/PowerDisplay/PowerDisplayXAML/MainWindow.xaml.cs b/src/modules/powerdisplay/PowerDisplay/PowerDisplayXAML/MainWindow.xaml.cs index 14396b8968..5a9c89fc2a 100644 --- a/src/modules/powerdisplay/PowerDisplay/PowerDisplayXAML/MainWindow.xaml.cs +++ b/src/modules/powerdisplay/PowerDisplay/PowerDisplayXAML/MainWindow.xaml.cs @@ -318,17 +318,7 @@ namespace PowerDisplay { // Window properties (IsResizable, IsMaximizable, IsMinimizable, IsTitleBarVisible) // are set in XAML. IsShownInSwitchers must be set programmatically due to WinUIEx limitations. - try - { - this.AppWindow.IsShownInSwitchers = false; - } - catch (NotImplementedException) - { - // WinUI will throw if explorer is not running, safely ignore - } - catch (Exception) - { - } + this.AppWindow.IsShownInSwitchers = false; // Set minimal initial window size - will be adjusted before showing // Using minimal height to prevent "large window shrinking" flicker