This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XWin and the ICON on xterm window


On Wed, 19 May 2004, Angelo Graziosi (D. Zanello) wrote:

> 
> Hi,
> 
> From version 6.7-5 I have noted that starting XWin with startxwin.bat
> (.sh) produces an xterm window for which the X-Icon near its title looks
> corrupted, as if there were a double reflection/refraction.
> 
> Also others X-Windows application (like emacs) presents this effect.
> 
> The X-Icon of the X-Server on bottom-right of application bar it is OK!.
> 
> What's happened?
> 
> Using XWin.exe of v. 6.7-4 the icons are all OK.

With XWin-6.7-5 there was a change in the way how Icons are loaded to fix a
problem with freeing icons twice. 

@Earle: What about using LoadIcon again and duplicating the handle with CopyIcon?

     HICON tmp = LoadIcon (g_hInstance, MAKEINTRESOURCE(IDI_XWIN));
     g_hiconX = CopyIcon(tmp);

bye
	ago 
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]