CVS: rdesktop seamless.c,1.1.2.9,1.1.2.10 xwin.c,1.205.2.10,1.205.2.11

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4323

Modified Files:
      Tag: seamlessrdp-branch
	seamless.c xwin.c 
Log Message:
Support for SeamlessRDP SYNCBEGIN/SYNCEND

Index: seamless.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/Attic/seamless.c,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -C2 -d -r1.1.2.9 -r1.1.2.10
*** seamless.c	15 Mar 2006 08:18:05 -0000	1.1.2.9
--- seamless.c	15 Mar 2006 08:41:48 -0000	1.1.2.10
***************
*** 197,200 ****
--- 197,223 ----
  		printf("SeamlessRDP:%s\n", line);
  	}
+ 	else if (!strcmp("SYNCBEGIN", tok1))
+ 	{
+ 		if (!tok2)
+ 			return False;
+ 
+ 		flags = strtoul(tok2, &endptr, 0);
+ 		if (*endptr)
+ 			return False;
+ 
+ 		ui_seamless_syncbegin(flags);
+ 	}
+ 	else if (!strcmp("SYNCEND", tok1))
+ 	{
+ 		if (!tok2)
+ 			return False;
+ 
+ 		flags = strtoul(tok2, &endptr, 0);
+ 		if (*endptr)
+ 			return False;
+ 
+ 		/* do nothing, currently */
+ 	}
+ 
  
  	xfree(l);

Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.205.2.10
retrieving revision 1.205.2.11
diff -C2 -d -r1.205.2.10 -r1.205.2.11
*** xwin.c	15 Mar 2006 08:35:13 -0000	1.205.2.10
--- xwin.c	15 Mar 2006 08:41:48 -0000	1.205.2.11
***************
*** 3215,3216 ****
--- 3215,3228 ----
  	}
  }
+ 
+ 
+ void
+ ui_seamless_syncbegin(unsigned long flags)
+ {
+ 	/* Destroy all seamless windows */
+ 	while (g_seamless_windows)
+ 	{
+ 		XDestroyWindow(g_display, g_seamless_windows->wnd);
+ 		seamless_remove_window(g_seamless_windows);
+ 	}
+ }



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.