[EMAIL PROTECTED] writes:
> The X target should also send expose events, as is suggested by
>
> bash-2.03$ grep evExpose */*.c
> xwin/input.c: giiev.any.type = evExpose;
>
Yep found that code. Its in GII_xwin_evenpoll.
> See my other post on this. Please tell us, if expose doesn't work on X,
> as it actually is the target for which exposes are interesting ...
No, I never receive such an event. Is GII_xwin_evenpoll called at all?
I use the following code to poll for events:
while(1) {
...
ggiEventPoll(g_vis, emAll, &tv);
n = ggiEventsQueued(g_vis, emAll);
...
while(n--) {
...
ggiEventRead(g_vis, &ggievent, emAll);
switch (ggievent.any.type) {
...
case evExpose:
// do something
....
}
}
}
--
Thomas Mittelstaedt, software developer
[EMAIL PROTECTED]