Icons

Colin Harrison colin.harrison@virgin.net
Mon Aug 29 16:49:00 GMT 2005


Hi,

Here are my screen dumps

http://www.straightrunning.com/test/icons_working.png

http://www.straightrunning.com/test/icons_faulty.png

Ignore the taskbar entries for root@... they are my PuTTY shells.

Shows icon stripes and crappy X icon on exit window (exit one needs keen
eyesight!)
All clients are remote and desktop is 32 bit.

Patches used to achieve this:-
For the stripped icons:

--- ./programs/Xserver/hw/xwin/save_winmultiwindowicons.c       2005-08-28
09:38:25.000000000 +0100
+++ ./programs/Xserver/hw/xwin/winmultiwindowicons.c    2005-08-28
09:39:14.000000000 +0100
@@ -285,6 +285,8 @@
   iconPtr = (PixmapPtr) LookupIDByType (hints.icon_pixmap, RT_PIXMAP);

   if (!iconPtr) return NULL;
+
+  iconSize = 32;

   hDC = GetDC (GetDesktopWindow ());
   planes = GetDeviceCaps (hDC, PLANES);

and for the exit and about window:

--- ./programs/Xserver/hw/xwin/save_windialogs.c        2005-08-28
09:35:54.000000000 +0100
+++ ./programs/Xserver/hw/xwin/windialogs.c     2005-08-28
09:36:19.000000000 +0100
@@ -318,7 +318,7 @@
        /* Set icon to standard app icon */
        PostMessage (hDialog,
                     WM_SETICON,
-                    ICON_SMALL,
+                    ICON_BIG,
                     (LPARAM) LoadIcon (g_hInstance,
                                        MAKEINTRESOURCE(IDI_XWIN)));

@@ -616,7 +616,7 @@
       /* Set icon to standard app icon */
       PostMessage (hwndDialog,
                   WM_SETICON,
-                  ICON_SMALL,
+                  ICON_BIG,
                   (LPARAM) LoadIcon (g_hInstance,
MAKEINTRESOURCE(IDI_XWIN)));

       /* Override the URL buttons */

Colin Harrison


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list