BUG-2553, BUG-2535: This should fix the issues we are having with selection / presenting the wrong windows. (Previous commit had a bug)

This commit is contained in:
Robin 2020-03-03 09:10:33 +01:00
commit 0202c2fa8b
8 changed files with 129 additions and 103 deletions

View file

@ -97,7 +97,7 @@ namespace Greenshot.Forms {
public WindowDetails SelectedCaptureWindow => _selectedCaptureWindow;
/// <summary>
/// This should prevent childs to draw backgrounds
/// This should prevent children to draw backgrounds
/// </summary>
protected override CreateParams CreateParams {
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
@ -119,7 +119,7 @@ namespace Greenshot.Forms {
}
private void ClosingHandler(object sender, EventArgs e) {
Log.Debug("Closing captureform");
Log.Debug("Closing capture form");
WindowDetails.UnregisterIgnoreHandle(Handle);
}