Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!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: <9002122303.AA02066@devnull.sun.com> Date: 12 Feb 90 22:49:33 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 27 > 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.