This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: XWin and the ICON on xterm window
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 19 May 2004 14:36:03 +0200 (MEST)
- Subject: Re: XWin and the ICON on xterm window
- References: <Pine.OSF.4.21.0405191019010.24771-100000@ax0rm1.roma1.infn.it>
- Reply-to: cygwin-xfree at cygwin dot com
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