nanogui: How to generate an EXPOSURE event?
Subject:
Re: [nanogui] How to generate an EXPOSURE event?
From:
"Greg Haerr" ####@####.####
Date:
21 Aug 2007 18:45:36 +0100
Message-Id: <394701c7e41a$f7283b00$0300a8c0@RDP>
: 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