From 9ce2008ef3142070c758a369096d61e7acc600a2 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 30 Mar 2013 13:21:38 -0500 Subject: [PATCH 1/1] hack for mono timing issue when minimizing --- KeePass/Forms/MainForm.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/KeePass/Forms/MainForm.cs b/KeePass/Forms/MainForm.cs index 28114bb..960cfce 100644 --- a/KeePass/Forms/MainForm.cs +++ b/KeePass/Forms/MainForm.cs @@ -1501,6 +1501,9 @@ namespace KeePass.Forms private void OnFormResize(object sender, EventArgs e) { + if (NativeLib.IsUnix() && m_fwsLast == FormWindowState.Minimized) { + Thread.Sleep(100); + } FormWindowState ws = this.WindowState; if(ws == FormWindowState.Minimized) -- 1.7.10.4