mirror of
https://github.com/greenshot/greenshot
synced 2025-07-30 11:40:40 -07:00
Refactored code location of the isGDIAllowed/isDWMAllowed, also changed the timeout for getting the HTML object from a window to 5 Seconds (instead of 1).
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1877 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
efd2861e35
commit
cac99fbaf3
5 changed files with 54 additions and 52 deletions
|
@ -818,7 +818,7 @@ namespace GreenshotPlugin.Core {
|
|||
// check if the capture fits
|
||||
if (!capture.ScreenBounds.Contains(captureRectangle)) {
|
||||
// if GDI is allowed..
|
||||
if (conf.isGDIAllowed(Process)) {
|
||||
if (WindowCapture.isGDIAllowed(Process)) {
|
||||
// we return null which causes the capturing code to try another method.
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue