Article View: comp.windows.x
Article #36732Re: WM_ICON_SIZE
From: David Rosenthal
Date: Tue, 13 Feb 1990 00:07
Date: Tue, 13 Feb 1990 00:07
27 lines
1687 bytes
1687 bytes
> The Xlib XSetIconSizes allows you to set the WM_ICON_SIZE property to > a list of XIconSize structs. (Similarly, XGetIconSizes allows you to > read a list of XIconSize structs off the property.) Now in the IC3M > (v1.0), it does not say anything about putting more than the > equivalent of one XIconSize struct on the WM_ICON_SIZE property. > > Am I understanding this correctly? > Is this an upward extension on the IC3M? No, you are not. Section 4.1.3.2 does not restrict the property to containing only a single instance of the structure. Note, however, that the contents of a single instance of the property allow the WM to express a series of possible icon sizes. > Is an IC3M compliant application, free to ignore anything past the > first struct? Well, the window manager has complete control over the size (and even the existence) of icons. So even if you provide an icon of a particular size the WM may override it. The information in WM_ICON_SIZE is just a hint, you are free to ignore even the contents of the first struct if you want to. But it would be best to take account of WM_ICON_SIZE and choose one of the sizes specified by one of the structs therein. Everything will work if you always choose from the first struct's series. David.
Technical Details
Message-ID:
<9002130007.AA02133@devnull.sun.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!SUN.COM!dshrShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!SUN.COM!dshr From: dshr@SUN.COM (David Rosenthal) Newsgroups: comp.windows.x Subject: Re: WM_ICON_SIZE Message-ID: <9002130007.AA02133@devnull.sun.com> Date: 13 Feb 90 00:07:03 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 27