Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!lll-winken!lll-tis!ames!ncar!mailrus!tut.cis.ohio-state.edu!bloom-beacon!earth.CRAY.COM!jlf From: jlf@earth.CRAY.COM (John Freeman) Newsgroups: comp.windows.x Subject: Background color of a window Message-ID: <8810311945.AA24289@thelake.cray.com> Date: 31 Oct 88 19:45:38 GMT Article-I.D.: thelake.8810311945.AA24289 Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 6 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. In other words, I want the equivalent of XGetBackground (and XGetForeground), the counterparts of XSetBackground and XSetForeground, which do exist.