CVS: seamlessrdp/ServerExe/HookDll hookdll.c, 1.45, 1.46

Peter Åstrand <[email protected]> Wed, 26 Mar 2008 09:52:26 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26839/HookDll

Modified Files:
	hookdll.c 
Log Message:
Do not send icon updates on WM_SETICON if window is not visible. Prevents warnings at client side.

Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** hookdll.c	14 Mar 2008 07:22:55 -0000	1.45
--- hookdll.c	26 Mar 2008 16:52:24 -0000	1.46
***************
*** 582,585 ****
--- 582,587 ----
  			{
  				HICON icon;
+ 				if (!(style & WS_VISIBLE))
+ 					break;
  
  				/*


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace