Must check outstanding_position since outpos_serial isn't valid otherwise.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1181 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Pierre Ossman 2006-03-21 15:31:48 +00:00
parent 07667c4d7c
commit d5fe3cead6

2
xwin.c
View File

@ -3605,7 +3605,7 @@ ui_seamless_ack(unsigned int serial)
seamless_window *sw;
for (sw = g_seamless_windows; sw; sw = sw->next)
{
if (sw->outpos_serial == serial)
if (sw->outstanding_position && (sw->outpos_serial == serial))
{
sw->xoffset = sw->outpos_xoffset;
sw->yoffset = sw->outpos_yoffset;