bool result = true;
bool wasMoving = guiApp.windowMoving ? true : false;
bool wasScrolling = guiApp.windowScrolling ? true : false;
+ bool firstPass = true;
Window w = null;
while(result && w != this)
{
msgWindow.SelectMouseCursor();
*/
- if(guiApp.windowCaptured || trueWindow)
+ if(firstPass && (guiApp.windowCaptured || trueWindow))
{
Window prevWindow = guiApp.prevWindow;
List<Window> overWindows = guiApp.overWindows;
*/
if(!result || !w || !w.clickThrough)
break;
+ firstPass = false;
}
delete w;
return result;