Hmm - I'll better CC to the list, due to the GrabInput stuff ...
> your personal feelings are towards releasing a "release candidate" soon,
> followed up by 2.0final.
As I'm not involved too much in the development anymore, actually I don't
care so much. However I'd like to see this release-candidate rock-solid.
I.e. don't add too much unnecessary features that might impact stability.
One thing, though (got to check if that still is the case):
We have a problem with the way inputs are handled, when you ggiJoin multiple
visuals:
I am using a program that displays computer tomography data in 4 windows
(the three major planes XY, XZ, YZ and an information window) and I need to
react to mouse and keyboard events on all windows and of course I don't want
to poll. For now, I just ggiJoin them, but that leads to the following
behaviour:
The program will segfault on ggiClose, if you join inputs, because the
inputs you join to another visual effectively get destroyed when the "main"
input gets destroyed. This is documented behaviour and reasonable, but we
have to make a way to let LibGGI know that ggiJoin was used this way.
The simplest possibility would be to unmap the input from the visual (i.e.
NULL the pointer) when you call ggiJoinInputs(vis, NULL), as this is the way
one usually gets at the other inputs. However, then you have no way to just
query the input.
Maybe we got to add another function (say gii_input_t ggiGrabInput(vis))
or a flag to ggiJoinInputs();.
Looking at giiJoinInputs, I'd assume that ggiGrabInput would be the better
solution. If called, it would detach the input from the visual and hand it
back. User has to care about properly closing it before destroying the
visual, then.
> Also, have you had a chance to review the two patches yet;
> is there anything you'd like done differently before I commit them?
No, except one this: The comments about the ordered option stuff are not
very clear. I didn't quite get what it does from them. You ay want to
rephrase that.
CU, Andy
--
= Andreas Beck | Email : <[EMAIL PROTECTED]> =