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:
parent
079a5c0048
commit
a37022eba5
6
xwin.c
6
xwin.c
@ -1919,7 +1919,6 @@ ui_init(void)
|
|||||||
ewmh_init();
|
ewmh_init();
|
||||||
if (g_seamless_rdp)
|
if (g_seamless_rdp)
|
||||||
{
|
{
|
||||||
seamless_restack_test();
|
|
||||||
seamless_init();
|
seamless_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2096,6 +2095,11 @@ ui_create_window(void)
|
|||||||
if (g_null_cursor == NULL)
|
if (g_null_cursor == NULL)
|
||||||
g_null_cursor = ui_create_cursor(0, 0, 1, 1, null_pointer_mask, null_pointer_data);
|
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;
|
return True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user