mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fix for DWM Capture where the window moves, this sometimes leaves a blur-effect on the capture.
This commit is contained in:
parent
71ecdd19ae
commit
2692c0ab43
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ namespace GreenshotPlugin.Core {
|
||||||
if (previousWindowRectangle.IsEmpty || !frozen) {
|
if (previousWindowRectangle.IsEmpty || !frozen) {
|
||||||
if (previousWindowRectangle.IsEmpty || now - lastWindowRectangleRetrieveTime > CACHE_TIME) {
|
if (previousWindowRectangle.IsEmpty || now - lastWindowRectangleRetrieveTime > CACHE_TIME) {
|
||||||
Rectangle windowRect = Rectangle.Empty;
|
Rectangle windowRect = Rectangle.Empty;
|
||||||
if (!HasParent && DWM.isDWMEnabled()) {
|
if (DWM.isDWMEnabled()) {
|
||||||
GetExtendedFrameBounds(out windowRect);
|
GetExtendedFrameBounds(out windowRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue