Daniel Nyström
2007-08-21 18:54:41 UTC
Thanks for your reply.
The purpose was to not clear any area (that's why 0,0,0,0) but only
generate an exposure event.
Is it even possible?
The purpose was to not clear any area (that's why 0,0,0,0) but only
generate an exposure event.
Is it even possible?
: Earlier I tried GrClearArea (wid,0,0,0,0,1); and I think that worked on
: a window, but now I use GR_ROOT_WINDOW_ID for all graphics, and
: ClearArea just don't work. It sends a exposure event, but still clears
: the whole screen!
The last param to GrClearArea will force the server to clear
the area. Have you tried this call on the root window with
FALSE as the last parameter?
Look at the code in nanox/srvutil.c to see exactly how this call
is handled.
Regards,
Greg
: a window, but now I use GR_ROOT_WINDOW_ID for all graphics, and
: ClearArea just don't work. It sends a exposure event, but still clears
: the whole screen!
The last param to GrClearArea will force the server to clear
the area. Have you tried this call on the root window with
FALSE as the last parameter?
Look at the code in nanox/srvutil.c to see exactly how this call
is handled.
Regards,
Greg