From c97600982a7310b55821758dd5994ceca69b739f Mon Sep 17 00:00:00 2001 From: RKrom Date: Wed, 24 Oct 2012 18:26:43 +0000 Subject: [PATCH] Fix for bug #3577305, using interactive capture mode as the active window is not longer active when a click on the context menu is made. The mouse also needs to be removed (is made by specifying false in the CaptureWindowInteractive call), as it was on the context menu the location no longer makes sense. git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2196 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Forms/MainForm.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Greenshot/Forms/MainForm.cs b/Greenshot/Forms/MainForm.cs index 016e1edef..abc092a43 100644 --- a/Greenshot/Forms/MainForm.cs +++ b/Greenshot/Forms/MainForm.cs @@ -846,7 +846,9 @@ namespace Greenshot { } void Contextmenu_capturewindow_Click(object sender,EventArgs e) { - CaptureWindow(); + BeginInvoke((MethodInvoker)delegate { + CaptureHelper.CaptureWindowInteractive(false); + }); } void Contextmenu_capturewindowfromlist_Click(object sender,EventArgs e) {