CVS: rdesktop xwin.c,1.205.2.4,1.205.2.5

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

Modified Files:
      Tag: seamlessrdp-branch
	xwin.c 
Log Message:
ui_seamless_create_window: Only search for parent if not zero

Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.205.2.4
retrieving revision 1.205.2.5
diff -C2 -d -r1.205.2.4 -r1.205.2.5
*** xwin.c	10 Mar 2006 12:56:38 -0000	1.205.2.4
--- xwin.c	10 Mar 2006 13:32:18 -0000	1.205.2.5
***************
*** 3021,3029 ****
  
  	/* Set WM_TRANSIENT_FOR, if necessary */
! 	sw_parent = seamless_get_window_by_id(parent);
! 	if (sw_parent)
! 		XSetTransientForHint(g_display, wnd, sw_parent->wnd);
! 	else
! 		warning("ui_seamless_create_window: No parent window 0x%lx\n", parent);
  
  	/* FIXME: Support for Input Context:s */
--- 3021,3032 ----
  
  	/* Set WM_TRANSIENT_FOR, if necessary */
! 	if (parent)
! 	{
! 		sw_parent = seamless_get_window_by_id(parent);
! 		if (sw_parent)
! 			XSetTransientForHint(g_display, wnd, sw_parent->wnd);
! 		else
! 			warning("ui_seamless_create_window: No parent window 0x%lx\n", parent);
! 	}
  
  	/* FIXME: Support for Input Context:s */



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