Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!ztivax!ap542!weigelshofen.uucp From: thomas@weigelshofen.uucp (Thomas Oeser (DI AP 313)) Newsgroups: comp.windows.x Subject: Re: Re: Proposals for Release 5 of X11 Message-ID: <919@ap542.uucp> Date: 14 Aug 90 14:24:15 GMT Sender: news@ap542.uucp Organization: SIEMENS AG, DI AP 313; Munich, West Germany Lines: 44 This is my answer to the response of "ther Mouse": >>> 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 I agree that the first proposal is less general than the second one. But it leaves the work at the server (similar to the current way borders are handled). But, do you really mean to create 2 (or more) windows for every (sub-)window within a window hierarchy. Even if we accept that a window "is a lightweigth resource", this would be too much resource wasting. Thomas Oeser *********** DISCLAIMER: All opinions stated here are strictly my own *********** -------------------------------------------------------------------------------- Internet: thomas%apgraph%ap542@ztivax.siemens.com Europe: thomas%apgraph%ap542@ztivax.UUCP UUCP: ...!uunet!mcsun!unido!ztivax!ap542!apgraph!thomas Phone: + 49 89 636 47537 Fax: + 49 89 636 45522 Postal Mail: Siemens AG, DI AP 313, Carl-Wery-Str. 22, D-8000 Munich 83 West Germany --------------------------------------------------------------------------------