CVS: seamlessrdp/ServerExe main.c,1.24,1.25

Pierre Ossman <[email protected]> Mon, 20 Mar 2006 04:28:05 -0800
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17080/ServerExe

Modified Files:
	main.c 
Log Message:
Send an ACK for all client commands.


Index: main.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** main.c	20 Mar 2006 10:30:25 -0000	1.24
--- main.c	20 Mar 2006 12:28:03 -0000	1.25
***************
*** 49,56 ****
  typedef int (*get_instance_count_proc_t) ();
  
! typedef void (*move_window_proc_t) (HWND hwnd, int x, int y, int width, int height);
! typedef void (*zchange_proc_t) (HWND hwnd, HWND behind);
! typedef void (*focus_proc_t) (HWND hwnd);
! typedef void (*set_state_proc_t) (HWND hwnd, int state);
  
  static move_window_proc_t g_move_window_fn = NULL;
--- 49,57 ----
  typedef int (*get_instance_count_proc_t) ();
  
! typedef void (*move_window_proc_t) (unsigned int serial, HWND hwnd, int x, int y, int width,
! 				    int height);
! typedef void (*zchange_proc_t) (unsigned int serial, HWND hwnd, HWND behind);
! typedef void (*focus_proc_t) (unsigned int serial, HWND hwnd);
! typedef void (*set_state_proc_t) (unsigned int serial, HWND hwnd, int state);
  
  static move_window_proc_t g_move_window_fn = NULL;
***************
*** 152,156 ****
  do_state(unsigned int serial, HWND hwnd, int state)
  {
! 	g_set_state_fn(hwnd, state);
  }
  
--- 153,157 ----
  do_state(unsigned int serial, HWND hwnd, int state)
  {
! 	g_set_state_fn(serial, hwnd, state);
  }
  
***************
*** 158,162 ****
  do_position(unsigned int serial, HWND hwnd, int x, int y, int width, int height)
  {
! 	g_move_window_fn(hwnd, x, y, width, height);
  }
  
--- 159,163 ----
  do_position(unsigned int serial, HWND hwnd, int x, int y, int width, int height)
  {
! 	g_move_window_fn(serial, hwnd, x, y, width, height);
  }
  
***************
*** 164,168 ****
  do_zchange(unsigned int serial, HWND hwnd, HWND behind)
  {
! 	g_zchange_fn(hwnd, behind);
  }
  
--- 165,169 ----
  do_zchange(unsigned int serial, HWND hwnd, HWND behind)
  {
! 	g_zchange_fn(serial, hwnd, behind);
  }
  
***************
*** 170,174 ****
  do_focus(unsigned int serial, HWND hwnd)
  {
! 	g_focus_fn(hwnd);
  }
  
--- 171,175 ----
  do_focus(unsigned int serial, HWND hwnd)
  {
! 	g_focus_fn(serial, hwnd);
  }
  



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