[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jun 25 10:26:01 1993 
Subject:Re: setting X resources from Poplog 
From:Ian Rogers 
Volume-ID:930625.05 

A.Sloman@uk.ac.bham.cs ("A.Sloman") writes:
>  define global XprmGetDisplayDatabase(display) -> db;
>  lvars   display, db;
>      xsetup();
>      ;;; eek!!!
>      exacc :Display display.db -> db
>  enddefine;
> -----------------------------------------------------------------------
> (Should I be worried by the "eeks" ?)
> Aaron

As I remember, X structures like Display are supposed to be opaque.
Digging things like the resource database out of one is a little
rude, but when this was written (as part of UIDE-1, 2 years ago) it
seemed to be the only thing to do.

It still seems to work and we've been through a full X Major
Revision since then so I guess it's solid. (famous last words ;)

Ian.