From 2692c0ab43166e3be8916d2d3562a317c282acbe Mon Sep 17 00:00:00 2001 From: RKrom Date: Wed, 5 Feb 2014 09:57:43 +0100 Subject: [PATCH] Fix for DWM Capture where the window moves, this sometimes leaves a blur-effect on the capture. --- GreenshotPlugin/Core/WindowsHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GreenshotPlugin/Core/WindowsHelper.cs b/GreenshotPlugin/Core/WindowsHelper.cs index 0574843d9..054d0335a 100644 --- a/GreenshotPlugin/Core/WindowsHelper.cs +++ b/GreenshotPlugin/Core/WindowsHelper.cs @@ -773,7 +773,7 @@ namespace GreenshotPlugin.Core { if (previousWindowRectangle.IsEmpty || !frozen) { if (previousWindowRectangle.IsEmpty || now - lastWindowRectangleRetrieveTime > CACHE_TIME) { Rectangle windowRect = Rectangle.Empty; - if (!HasParent && DWM.isDWMEnabled()) { + if (DWM.isDWMEnabled()) { GetExtendedFrameBounds(out windowRect); }