nanogui: Re: [SPAM] Re: [nanogui] How to generate an EXPOSURE event?
Subject:
Re: [SPAM] Re: [nanogui] How to generate an EXPOSURE event?
From:
Daniel ####@####.####
Date:
21 Aug 2007 19:54:53 +0100
Message-Id: <46CB34F1.6020802@displayonline.se>
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?
Greg Haerr wrote:
> : 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
>