Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!jim From: jim@EXPO.LCS.MIT.EDU (Jim Fulton) Newsgroups: comp.windows.x Subject: Re: Question about X11R4 XGetWMNormalHints() Message-ID: <9002051628.AA28314@kanga.lcs.mit.edu> Date: 5 Feb 90 16:28:14 GMT References: <1159@tub.UUCP> Sender: root@athena.mit.edu (Wizard A. Root) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 16 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.