mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Removed Firefox preview window from the capture list
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2454 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
f17142f6a1
commit
5a1c8ffefb
1 changed files with 5 additions and 0 deletions
|
@ -1545,9 +1545,14 @@ namespace GreenshotPlugin.Core {
|
|||
if ((window.ExtendedWindowStyle & ExtendedWindowStyleFlags.WS_EX_TOOLWINDOW) != 0) {
|
||||
continue;
|
||||
}
|
||||
// Skip preview windows, like the one from Firefox
|
||||
if ((window.WindowStyle & WindowStyleFlags.WS_VISIBLE) == 0) {
|
||||
continue;
|
||||
}
|
||||
if (!window.Visible && !window.Iconic) {
|
||||
continue;
|
||||
}
|
||||
LOG.DebugFormat("Text {0}", window.Text);
|
||||
windows.Add(window);
|
||||
}
|
||||
return windows;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue