diff --git a/RetroBar/Controls/TaskButton.xaml.cs b/RetroBar/Controls/TaskButton.xaml.cs index d8e78364..a77425bb 100644 --- a/RetroBar/Controls/TaskButton.xaml.cs +++ b/RetroBar/Controls/TaskButton.xaml.cs @@ -182,7 +182,8 @@ private void AppButton_OnMouseUp(object sender, MouseButtonEventArgs e) { return; } - if (Settings.Instance.TaskMiddleClickAction == TaskMiddleClickOption.CloseTask) + if (Settings.Instance.TaskMiddleClickAction == TaskMiddleClickOption.CloseTask != + (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { Window?.Close(); }