Clear g_seamless_spawn_cmd when used.

Fixes problem were a new seamless application is spawned
upon a reconnection due to resize or network failure.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1809 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Henrik Andersson 2014-05-28 07:56:23 +00:00
parent 0fe7375197
commit b4ac3c4182

3
xwin.c
View File

@ -3822,7 +3822,10 @@ ui_seamless_begin(RD_BOOL hidden)
ui_seamless_toggle();
if (g_seamless_spawn_cmd[0])
{
seamless_send_spawn(g_seamless_spawn_cmd);
g_seamless_spawn_cmd[0] = 0;
}
}