Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!jim From: jim@EXPO.LCS.MIT.EDU (Jim Fulton) Newsgroups: comp.windows.x Subject: Re: Obtaining a windows border pixel Message-ID: <8809131338.AA00323@EXPO.LCS.MIT.EDU> Date: 13 Sep 88 13:38:07 GMT References: <1416@spp2.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 14 > Can a Window Manager obtain the border pixel of a client? Nope. The server converts the background and border pixmaps (pixels are basically a shorthand for solid-color pixmap) to whatever internal representation is most efficient, and is not required to bump the reference count of the PIXMAP data structure. Since the client is allowed to immediately free the pixmap after creating the window (see CreateWindow in the Protocol document), there might not be a pixmap corresponding to the indicated id (or worse yet, it could be the wrong one). Jim Fulton MIT X Consortium