mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -07:00
Windows 8: fix for capturing when a fullscreen app is visible, this didn't go away, when having multiple monitors.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2456 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
7ba6a57b4a
commit
141da5e724
2 changed files with 40 additions and 17 deletions
|
@ -897,6 +897,13 @@ 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();
|
||||
}
|
||||
}
|
||||
DialogResult result = captureForm.ShowDialog();
|
||||
if (result == DialogResult.OK) {
|
||||
selectedCaptureWindow = captureForm.SelectedCaptureWindow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue