Completely redraw a seamless window when our reposition is complete. This
will clear out any rendering bugs caused by the fact the meta-data channel isn't synchronized with the main graphics channel. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1180 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
470048795d
commit
07667c4d7c
8
xwin.c
8
xwin.c
@ -3612,6 +3612,14 @@ ui_seamless_ack(unsigned int serial)
|
||||
sw->width = sw->outpos_width;
|
||||
sw->height = sw->outpos_height;
|
||||
sw->outstanding_position = False;
|
||||
|
||||
/* Do a complete redraw of the window as part of the
|
||||
completion of the move. This is to remove any
|
||||
artifacts caused by our lack of synchronization. */
|
||||
XCopyArea(g_display, g_backstore,
|
||||
sw->wnd, g_gc,
|
||||
sw->xoffset, sw->yoffset, sw->width, sw->height, 0, 0);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user