Re: Bug in XLIB:WITH-GCONTEXT? Weird behaviour, anyway

Eric Marsden <[email protected]> Thu, 07 Aug 2003 14:13:23 +0200
Newsgroups gmane.lisp.clx.devel,gmane.lisp.cmucl.general
Organization LAAS-CNRS http://www.laas.fr/
Message-ID <[email protected]>
>>>>> "db" == Daniel Barlow <[email protected]> writes:

  db> According to the CLX manual, with-gcontext "Changes the indicated
  db> graphics context components to the specified values only within the
  db> dynamic extent of the body"

I mentioned this to Daniel on IRC, but should also give it a more
permanent record: if the gcontext is created with the :CACHE-P
argument as nil, the behaviour is as expected (in CMUCL's CLX at
least).

There is probably a bug in the way that the local-state and the
server-state are synchronized upon exit of WITH-GCONTEXT, but I
haven't found where.
  
-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>