Re: Problem with creating custom icon on minimized window

New Message Reply Date view Thread view Subject view Author view

Jan Barglowski (jan++at++archimedes.vislab.navy.mil)
Wed, 22 Apr 1998 16:44:03 -0700 (PDT)


Sandeep Mulgund wrote:
> I'm trying to create a custom icon for the minimized window of a Performer
> application. Per the Indigo Magic guidlines, I'm using some X functions to
> define the WM_CLASS resource, as follows:
[snip]
> If I use 'xprop' on my running application window, it shows the resources
> set to the correct values. However, when I minimize the window, it shows
> the default minimized icon, rather than my custom icon (which I've placed
> in the correct directory, with the name PilotStation.icon). What am I
> doing wrong? The only way it works is if I put a file called
> "default.icon" in ~/.icon/. It seems to be ignoring my definition of the
> WM_CLASS resource.

I've done this with several programs. First, is your "correct directory"
/usr/lib/images? Next, what is your app name? I think it must be the
same as your icon, e.g. myApp, myApp.icon

I never did the WM_CLASS code you mentioned. What I did was to take
the xwsh program, copy it to xwsh_myapp, create an icon
/usr/lib/images/xwsh_myapp.icon , and then when we invoked the xwsh_myapp
(we use xwsh_myapp -e myapp to run an app in the window shell) and iconize
it, well, it just works.

jan

-- 
Jan Anthony Barglowski	              jan++at++chinalake.navy.mil
Real-time Computer Graphics           http://www1.ridgecrest.ca.us/~jan
Naval Air Warfare Center, China Lake  (760) 927-1057
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:17 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.