From c2d26f30ce68dc13d38d2dd373706914126d2032 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 14 Dec 2018 02:04:45 -0600 Subject: [PATCH] Make sure to not show main window if app should start minimized Not a great fix. Related to issue #514. --- DS4Windows/DS4Forms/DS4Form.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index f7f0149..7fea5d9 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -390,7 +390,8 @@ namespace DS4Windows instance = this; this.Resize += Form_Resize; this.LocationChanged += TrackLocationChanged; - Form_Resize(null, null); + if (!(StartMinimized || mini)) + Form_Resize(null, null); Program.rootHub.Debug += On_Debug;