CVS: rdesktop xwin.c,1.228,1.229

Peter Åstrand <[email protected]> Fri, 14 Mar 2008 00:39:40 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14722

Modified Files:
	xwin.c 
Log Message:
SeamlessRDP bugfix: The first window to XRestackWindows should be the
reference window (the "behind" window); not the window to restack. 



Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.228
retrieving revision 1.229
diff -C2 -d -r1.228 -r1.229
*** xwin.c	7 Mar 2008 11:26:29 -0000	1.228
--- xwin.c	14 Mar 2008 07:39:38 -0000	1.229
***************
*** 3703,3713 ****
  		if (!sw_behind)
  		{
! 			warning("ui_seamless_restack_window: No information for window 0x%lx\n",
! 				behind);
  			return;
  		}
  
! 		wnds[1] = sw_behind->wnd;
! 		wnds[0] = sw->wnd;
  
  		XRestackWindows(g_display, wnds, 2);
--- 3703,3712 ----
  		if (!sw_behind)
  		{
! 			warning("ui_seamless_restack_window: No information for behind window 0x%lx\n", behind);
  			return;
  		}
  
! 		wnds[1] = sw->wnd;
! 		wnds[0] = sw_behind->wnd;
  
  		XRestackWindows(g_display, wnds, 2);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/