CVS: rdesktop proto.h,1.87.2.2,1.87.2.3 seamless.c,1.1.2.3,1.1.2.4 xwin.c,1.205.2.2,1.205.2.3

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-serv32558

Modified Files:
      Tag: seamlessrdp-branch
	proto.h seamless.c xwin.c 
Log Message:
Parsing the new CREATE command, with parent parameter.

Index: proto.h
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/proto.h,v
retrieving revision 1.87.2.2
retrieving revision 1.87.2.3
diff -C2 -d -r1.87.2.2 -r1.87.2.3
*** proto.h	10 Mar 2006 10:40:50 -0000	1.87.2.2
--- proto.h	10 Mar 2006 12:44:32 -0000	1.87.2.3
***************
*** 273,277 ****
  void ui_end_update(void);
  void ui_seamless_toggle(void);
! void ui_seamless_create_window(unsigned long id, unsigned long flags);
  void ui_seamless_destroy_window(unsigned long id, unsigned long flags);
  void ui_seamless_move_window(unsigned long id, int x, int y, int width, int height,
--- 273,277 ----
  void ui_end_update(void);
  void ui_seamless_toggle(void);
! void ui_seamless_create_window(unsigned long id, unsigned long parent, unsigned long flags);
  void ui_seamless_destroy_window(unsigned long id, unsigned long flags);
  void ui_seamless_move_window(unsigned long id, int x, int y, int width, int height,

Index: seamless.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/Attic/seamless.c,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** seamless.c	10 Mar 2006 10:40:50 -0000	1.1.2.3
--- seamless.c	10 Mar 2006 12:44:32 -0000	1.1.2.4
***************
*** 83,87 ****
  	if (!strcmp("CREATE", tok1))
  	{
! 		if (!tok3)
  			return False;
  
--- 83,88 ----
  	if (!strcmp("CREATE", tok1))
  	{
! 		unsigned long parent;
! 		if (!tok4)
  			return False;
  
***************
*** 90,98 ****
  			return False;
  
! 		flags = strtol(tok3, &endptr, 16);
  		if (*endptr)
  			return False;
  
! 		ui_seamless_create_window(id, flags);
  	}
  	else if (!strcmp("DESTROY", tok1))
--- 91,103 ----
  			return False;
  
! 		parent = strtol(tok3, &endptr, 16);
  		if (*endptr)
  			return False;
  
! 		flags = strtol(tok4, &endptr, 16);
! 		if (*endptr)
! 			return False;
! 
! 		ui_seamless_create_window(id, parent, flags);
  	}
  	else if (!strcmp("DESTROY", tok1))

Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.205.2.2
retrieving revision 1.205.2.3
diff -C2 -d -r1.205.2.2 -r1.205.2.3
*** xwin.c	10 Mar 2006 10:40:50 -0000	1.205.2.2
--- xwin.c	10 Mar 2006 12:44:32 -0000	1.205.2.3
***************
*** 2988,2992 ****
  
  void
! ui_seamless_create_window(unsigned long id, unsigned long flags)
  {
  	Window wnd;
--- 2988,2992 ----
  
  void
! ui_seamless_create_window(unsigned long id, unsigned long parent, unsigned long flags)
  {
  	Window wnd;



-------------------------------------------------------
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.