Fixed a visibility check on Apps and added the gutter! The "Snapped Desktop" is still missing and if this is visible it won't go away...

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2457 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2013-02-03 18:12:39 +00:00
commit 8b0253bdf9
2 changed files with 68 additions and 70 deletions

View file

@ -896,14 +896,14 @@ namespace Greenshot.Helpers {
#region capture with feedback
private void CaptureWithFeedback() {
using (CaptureForm captureForm = new CaptureForm(capture, windows)) {
// Added check for metro (Modern UI) apps, which might be maximized and cover the screen.
// as they don't want to
foreach(WindowDetails app in WindowDetails.GetMetroApps()) {
if (app.Maximised) {
app.HideApp();
}
// Added check for metro (Modern UI) apps, which might be maximized and cover the screen.
// as they don't want to
foreach(WindowDetails app in WindowDetails.GetMetroApps()) {
if (app.Maximised) {
app.HideApp();
}
}
using (CaptureForm captureForm = new CaptureForm(capture, windows)) {
DialogResult result = captureForm.ShowDialog();
if (result == DialogResult.OK) {
selectedCaptureWindow = captureForm.SelectedCaptureWindow;