From 085d4f5587d0d64b7c7bae7428759ecf549c2c25 Mon Sep 17 00:00:00 2001 From: Regin Larsen Date: Tue, 1 Apr 2014 21:48:35 +0200 Subject: [PATCH] Decrease flickering when closing a window with CTRL+Enter #12 --- Switcheroo/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Switcheroo/MainWindow.xaml.cs b/Switcheroo/MainWindow.xaml.cs index 0e1e4d8c..7fa2f926 100644 --- a/Switcheroo/MainWindow.xaml.cs +++ b/Switcheroo/MainWindow.xaml.cs @@ -344,7 +344,7 @@ private void CloseWindow(object sender, ExecutedRoutedEventArgs e) { if (lb.Items.Count > 0) { - Hide(); + HideWindow(); AppWindow win = (AppWindow)lb.SelectedItem; win.PostClose(); win.SwitchTo();