XWin and the ICON on xterm window
Alexander Gottwald
alexander.gottwald@s1999.tu-chemnitz.de
Wed May 19 16:39:00 GMT 2004
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
More information about the Cygwin-xfree
mailing list