net@tub.UUCP (Oliver Laumann) (02/03/90)
What is the correct way for a client to determine whether or not the (new) base_width, base_height, and win_gravity components are defined in the XSizeHints structure returned by a call to XGetWMNormalHints()? Should the client look into the supplied_return argument or into the flags component of the XSizeHints? In what way are these two different? Thanks, -- Oliver Laumann net@TUB.BITNET net@tub.cs.tu-berlin.de net@tub.UUCP
jim@EXPO.LCS.MIT.EDU (Jim Fulton) (02/06/90)
What is the correct way for a client to determine whether or not the (new) base_width, base_height, and win_gravity components are defined in the XSizeHints structure returned by a call to XGetWMNormalHints()? Look at the PBaseSize and PWinGravity bits in the flags. Should the client look into the supplied_return argument or into the flags component of the XSizeHints? In what way are these two different? The sizehints.flags mask indicates which fields are set in the structure. The supplied_return argument returns the mask of all possible fields which *could* have been returned for this property. New hints will return all of the possible flag fields, pre-ICCCM hints will not have PBaseSize or PWinGravity set.