Revert of the change to the DWMWINDOWATTRIBUTE, as the enum values were not fixed we lost some functionality. Also fixed some potential issues with the ThumbnailForm, and aligned a bit of code with Dapplo.Window [skip ci]

This commit is contained in:
Robin Krom 2021-03-26 22:30:28 +01:00
commit b22d982f36
No known key found for this signature in database
GPG key ID: BCC01364F1371490
7 changed files with 174 additions and 102 deletions

View file

@ -40,5 +40,7 @@ namespace GreenshotPlugin.UnmanagedHelpers.Structs {
public Size ToSize() {
return new Size(Width, Height);
}
public bool IsEmpty => Width * Height == 0;
}
}