See hg tip for reference. applyrules() is returned if XGetClassHint fails. Kind regards, Anselm
2008/8/29 Filippo Erik Negroni <[EMAIL PROTECTED]>: > 2008/8/29 Anselm R Garbe <[EMAIL PROTECTED]> >> >> Hi Filippo, >> >> 2008/8/27 Filippo Erik Negroni <[EMAIL PROTECTED]>: >> > In applyrules(), the return value of XGetClassHint is not checked. >> >> Agreed. >> > > If XGetClassHint is not successful, you cannot make any assumptions about > the values of ch's members. > They might not be NULL, yet the function failed mid way retrieving the > values and left your structure with undefined values. > I believe we must at least return False if XGetClassHint fails.
