Fixed last checking, found bug in tests.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2207 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-10-26 18:11:58 +00:00
commit 216f3b82db

View file

@ -800,6 +800,8 @@ namespace Greenshot.Helpers {
if (windowToCapture.Iconic) {
// Restore the window making sure it's visible!
windowToCapture.Restore();
} else {
windowToCapture.ToForeground();
}
windowRectangle.Intersect(captureForWindow.ScreenBounds);
try {