BUG-1965: Fixed a bug where a 1 pixel wide border around an active window is visible. Probably due to the "shadow" being captured too.

This commit is contained in:
Robin 2016-05-22 00:16:06 +02:00
parent d25021631e
commit 1469f1fa41
9 changed files with 200 additions and 179 deletions

View file

@ -130,7 +130,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
/// Helper method for an easy DWM check
/// </summary>
/// <returns>bool true if DWM is available AND active</returns>
public static bool isDWMEnabled() {
public static bool IsDwmEnabled() {
// According to: http://technet.microsoft.com/en-us/subscriptions/aa969538%28v=vs.85%29.aspx
// And: http://msdn.microsoft.com/en-us/library/windows/desktop/aa969510%28v=vs.85%29.aspx
// DMW is always enabled on Windows 8! So return true and save a check! ;-)