Permalink
Browse files

Default check of window existence happens every 10 seconds, change to…

… each lookup

Default check of window existence happens every 10 seconds, change to each lookup

QA Notes:
Testing Done:
Documentation Notes:
Bug Number:
Reviewed by:
Approved by:
Mailto:
  • Loading branch information...
1 parent de7810e commit f51628f43707a45fdc6d71ebb63b354361bdb861 @nagappan nagappan committed Oct 8, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 Ldtpd/Utils.cs
View
@@ -151,6 +151,13 @@ internal void InternalLaunchApp(object data)
{
try
{
+ Rect rect = e.Current.BoundingRectangle;
+ if (rect.Width == 0 && rect.Height == 0)
+ {
+ // Window no longer exist
+ windowTmpList.Add(e);
+ continue;
+ }
currObjInfo = objInfo.GetObjectType(e);
s = e.Current.Name;
if (s != null)

0 comments on commit f51628f

Please sign in to comment.