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.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1462 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2008-03-28 11:36:15 +00:00
parent 079a5c0048
commit a37022eba5

6
xwin.c
View File

@ -1919,7 +1919,6 @@ ui_init(void)
ewmh_init();
if (g_seamless_rdp)
{
seamless_restack_test();
seamless_init();
}
@ -2096,6 +2095,11 @@ ui_create_window(void)
if (g_null_cursor == NULL)
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;
}