On Tue, Oct 03, 2000 at 02:14:17PM +0200, Andreas Beck wrote:
> > but only into a memory visual, I need a way to let the client
> > notify the server, that the memory visual has changed, i.e. that
> > the screen needs to be repaired.
> > Does libGGI currently provide any means to achieve this ? A possibility
> > for example would be to have kind of a 'expose event' callback, which
> > I can register with, say, ggiFlush().
I've thought about this problem before (for the vaporware VNC target) --
why not make a target that draws on shared memory, and use a pipe to
send events (key press, region flush, etc.) to the other process?
> Well - the "correct" thing to do would be to make a Berlin visual driver for
> LibGGI. Maybe featuring a very dircet channel (like in MIT_SHM) between the
> two. It has the advantage of being able to send acceleration commands down
> to Berlin.
>
> That would save all the hassle involved with the shm visual. LibGGI then
> behaves like a regular Berlin client. Expose events and all.
Agreed. If there is interest, I can try to implement this idea. (I
have already written a little part of it.)
--
Steve Cheng
鄭君博
www: <http://shell.ipoline.com/~elmert/>