Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: Proposals for Release 5 of X11 Message-ID: <9008100705.AA27513@Larry.McRCIM.McGill.EDU> Date: 10 Aug 90 07:05:26 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 24 > Proposal: It should be possible to specify independently a > pixmap/color for the top, left, bottom and right border of > a window > or > The server should generate an event, when he has redrawn > the border of a window The former is not very general (why must borders be split into top, left, bottom, right?) and suffers from (probably fixable) semantic problems (what about the little squares in the corners? Which piece of the border do they belong to?). The latter needs no extensions: simply give the window a border-width of zero and make it a child of another window which sticks out by the desired amount. Handle expose events on this second window as indications that pieces of the "border" need to be redrawn. The second window might instead be a sibling of the first instead of the parent, if that turns out to be more convenient. In particularly extreme cases it might even be four windows (top, left, bottom, right) instead of one. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu