CVS: rdesktop xwin.c,1.205.2.32,1.205.2.33

Pierre Ossman <[email protected]> Tue, 21 Mar 2006 07:29:49 -0800
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6917

Modified Files:
      Tag: seamlessrdp-branch
	xwin.c 
Log Message:
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.


Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.205.2.32
retrieving revision 1.205.2.33
diff -C2 -d -r1.205.2.32 -r1.205.2.33
*** xwin.c	21 Mar 2006 14:42:25 -0000	1.205.2.32
--- xwin.c	21 Mar 2006 15:29:47 -0000	1.205.2.33
***************
*** 3613,3616 ****
--- 3613,3624 ----
  			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;
  		}



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642