Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!bionet!ames!skipper!disbrow From: disbrow@skipper.dfrf.nasa.gov (Jim Disbrow) Newsgroups: comp.windows.x Subject: XGetWindowAttributes Keywords: X, Background Attribute Message-ID: <726@skipper.dfrf.nasa.gov> Date: 19 Dec 90 18:13:43 GMT Distribution: na Organization: NASA Ames-Dryden FRF, Edwards, CA Lines: 17 I'm having trouble getting the windows background pixel value. We've tried XGetWindowAttributes, but no luck. Has anyone else needed to find out the background or foreground color? We can set it with XSetWindowAttributes, but XGetWindowAttributes doesn't return this attribute. Thanx in advance, Jim Disbrow work: 805/258-3417 home: 805/948-1363 internet: disbrow@skipper.dfrf.nasa.gov -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Brain. Brain. What is brain? -- Kara the Eymorg, "Spock's Brain," stardate 5432.3.