Fix for DWM Capture where the window moves, this sometimes leaves a blur-effect on the capture.

This commit is contained in:
RKrom 2014-02-05 09:57:43 +01:00
parent 71ecdd19ae
commit 2692c0ab43

View file

@ -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);
}