Permalink
Browse files

Safeguard against window position restoring problem on Citrix

  • Loading branch information...
1 parent 3a32843 commit ba750cafb490248e5e9173865b69b74fa6bfb1f2 @sebdeckers sebdeckers committed Apr 14, 2010
Showing with 6 additions and 4 deletions.
  1. +6 −4 Client/src/main/SaveCommonProfile.js
@@ -18,10 +18,12 @@ function SaveCommonProfile ()
Data.Add( 'welcomesettings', external.globals( 'welcomesettings' ) );
if ( external.IsRectOnMonitor(
- external.wnd.top,
- external.wnd.left + external.globals( 'lastwidth' ),
- external.wnd.top + external.globals( 'lastheight' ),
- external.wnd.left )
+ external.wnd.top,
+ external.wnd.left + external.globals( 'lastwidth' ),
+ external.wnd.top + external.globals( 'lastheight' ),
+ external.wnd.left )
+ && external.wnd.left !== -32000
+ && external.wnd.top !== -32000
)
{
Data.Add( 'lastposx', external.wnd.left );

0 comments on commit ba750ca

Please sign in to comment.