CVS: rdesktop xwin.c,1.231,1.232

Peter Åstrand <[email protected]> Fri, 28 Mar 2008 04:36:18 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32121

Modified Files:
	xwin.c 
Log Message:
Moved call to seamless_restack_test from ui_init to end of
ui_create_window. This seems to fix problems the WTS disconnecting the
session due to "DATA ENCRYPTION" errors. At this point, it's unknown
why this patch fixes the problem, but ui_create_window is a good place
for seamless_restack_test() in any case. 



Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.231
retrieving revision 1.232
diff -C2 -d -r1.231 -r1.232
*** xwin.c	26 Mar 2008 17:16:32 -0000	1.231
--- xwin.c	28 Mar 2008 11:36:15 -0000	1.232
***************
*** 1920,1924 ****
  	if (g_seamless_rdp)
  	{
- 		seamless_restack_test();
  		seamless_init();
  	}
--- 1920,1923 ----
***************
*** 2097,2100 ****
--- 2096,2104 ----
  		g_null_cursor = ui_create_cursor(0, 0, 1, 1, null_pointer_mask, null_pointer_data);
  
+ 	if (g_seamless_rdp)
+ 	{
+ 		seamless_restack_test();
+ 	}
+ 
  	return True;
  }


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace