--- sourceforge.net/trunk/rdesktop/xwin.c 2008/03/26 17:16:32 1461 +++ sourceforge.net/trunk/rdesktop/xwin.c 2008/03/28 11:36:15 1463 @@ -1919,7 +1919,6 @@ ewmh_init(); if (g_seamless_rdp) { - seamless_restack_test(); seamless_init(); } @@ -2096,6 +2095,11 @@ 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; }