Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!vsi1!daver!athsys!jim From: jim@athsys.uucp (Jim Becker) Newsgroups: comp.windows.x Subject: Re: Background color of a window (now XWindowAttributes) Message-ID: <170@tityus.UUCP> Date: 1 Nov 88 23:36:31 GMT References: <8810311945.AA24289@thelake.cray.com> Organization: Athena Systems, Inc., Sunnyvale, CA Lines: 20 From article <8810311945.AA24289@thelake.cray.com>, by jlf@earth.CRAY.COM (John Freeman): > I want to find the background pixel value of an existing window, > one I did not create. The XSetWindowAttributes structure has > a field for background_pixel, but XGetWindowAttributes returns > an XWindowAttributes structure which does not have this field. As long as this has been mentioned... There are a number of settable window attributes that cannot be retrieved from the window using the XGetWindowAttributes. Sometimes there is a need for these esoteric items to be gotten (such as trying to match the backing pixmap of the root window..). This is Frustrating!! Is there any effort, or chance (at this late stage in the game), to make the XSetWindowAttributes and the XWindowAttributes the same?? I know that this is impossible, as are (m)any changes, but what was the motivation that went into this decision? -Jim Becker