🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37886

Re: XView application without olcursor?

#37886
From: Phil Karlton
Date: Fri, 09 Mar 1990 06:11
21 lines
1468 bytes
In article <132607@sun.Eng.Sun.COM> hvr@sun.UUCP (Heather Rose) writes:
>Is there a way to allocate server pixmaps as sharable objects?  i.e. one
>client allocates a pixmap as "read-only" so other clients could use it.
>That would make the problem much easier to solve.

There are several ways. One fairly straightforward way would be for
a client that needed to create the pixmaps to open a second connection
and set it's close down mode to RetainPermanent. Then it should create
the appropriate pixmaps and put a property on the root window listing
the pixmaps.

Some care must be taken to avoid race conditions. Most likely, creation
and edition of the property will have to be done with the server grabbed.
Take care to observe the conventions for atom names.

PK
--
Phil Karlton                            karlton@sgi.com
Silicon Graphics Computer Systems       415-335-1557
2011 N. Shoreline Blvd.
Mountain View, CA 94039
Technical Details
Message-ID: <5069@odin.SGI.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!sgi!shinobu!odin!fudge!karlton
References: <5452@crdgw1.crd.ge.com> <132555@sun.Eng.Sun.COM> <5818@crdgw1.crd.ge.com> <132607@sun.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!sgi!shinobu!odin!fudge!karlton
From: karlton@fudge.sgi.com (Phil Karlton)
Newsgroups: comp.windows.x
Subject: Re: XView application without olcursor?
Message-ID: <5069@odin.SGI.COM>
Date: 9 Mar 90 06:11:35 GMT
References: <5452@crdgw1.crd.ge.com> <132555@sun.Eng.Sun.COM> <5818@crdgw1.crd.ge.com> <132607@sun.Eng.Sun.COM>
Sender: news@odin.SGI.COM
Organization: Silicon Graphics, Inc., Mountain View, CA
Lines: 21