tek@penzance.cs.ucla.edu (02/13/90)
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? Is an IC3M compliant application, free to ignore anything past the first struct? -ted Ted Kim UCLA Computer Science Department Internet: tek@penzance.cs.ucla.edu 3804C Boelter Hall UUCP: ...!{uunet|ucbvax}!cs.ucla.edu!tek Los Angeles, CA 90024 Phone: (213) 206-8696
dshr@SUN.COM (David Rosenthal) (02/13/90)
> 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.
tek@penzance.cs.ucla.edu (02/16/90)
A question for you IC3M gurus: If a window manager decides to give hints about icon sizes, it sets the WM_ICON_SIZE property on the root window. Does this mean there might be many different WM_ICON_SIZE properties, one on each screen's root window? Or is this like the RESOURCE_MANAGER property, which only makes its appearance on screen zero's root window? -ted Ted Kim UCLA Computer Science Department Internet: tek@penzance.cs.ucla.edu 3804C Boelter Hall UUCP: ...!{uunet|ucbvax}!cs.ucla.edu!tek Los Angeles, CA 90024 Phone: (213) 206-8696
tek@penzance.cs.ucla.edu (02/22/90)
How exactly do you interpret the WM_ICON_SIZE info? Are the dimensions in pixels supposed to be: width = min_width + i * width_increment height = min_height + j * width_increment with the constraints: width <= max_width height <= max_height Do i and j have to be equal? Is max_width constrained to be min_width plus some multiple of width_increment? If no, is the max_width a supported width? -ted Ted Kim UCLA Computer Science Department Internet: tek@penzance.cs.ucla.edu 3804C Boelter Hall UUCP: ...!{uunet|ucbvax}!cs.ucla.edu!tek Los Angeles, CA 90024 Phone: (213) 206-8696