CVS: rdesktop ewmhints.c,1.10.2.4,1.10.2.5

Pierre Ossman <[email protected]> Thu, 16 Mar 2006 00:09:48 -0800
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17986

Modified Files:
      Tag: seamlessrdp-branch
	ewmhints.c 
Log Message:
Spec says that the wm doesn't have to respect requests to change
_NET_WM_STATE_HIDDEN, so we shouldn't rely on it.


Index: ewmhints.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/ewmhints.c,v
retrieving revision 1.10.2.4
retrieving revision 1.10.2.5
diff -C2 -d -r1.10.2.4 -r1.10.2.5
*** ewmhints.c	15 Mar 2006 15:16:18 -0000	1.10.2.4
--- ewmhints.c	16 Mar 2006 08:09:41 -0000	1.10.2.5
***************
*** 240,264 ****
  
  	/*
- 	 * Deal with the hidden atom
- 	 */
- 	xevent.type = ClientMessage;
- 	xevent.xclient.window = wnd;
- 	xevent.xclient.message_type = g_net_wm_state_atom;
- 	xevent.xclient.format = 32;
- 	if (state == SEAMLESSRDP_MINIMIZED)
- 		xevent.xclient.data.l[0] = _NET_WM_STATE_ADD;
- 	else
- 		xevent.xclient.data.l[0] = _NET_WM_STATE_REMOVE;
- 	xevent.xclient.data.l[1] = g_net_wm_state_hidden_atom;
- 	xevent.xclient.data.l[2] = 0;
- 	xevent.xclient.data.l[3] = 0;
- 	xevent.xclient.data.l[4] = 0;
- 	status = XSendEvent(g_display, DefaultRootWindow(g_display), False,
- 			    SubstructureNotifyMask | SubstructureRedirectMask, &xevent);
- 	if (!status)
- 		return -1;
- 
- 
- 	/*
  	 * Deal with the max atoms
  	 */
--- 240,243 ----



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