On Thursday 20 June 2002 7:07 pm, John Levon wrote:
> On Thu, Jun 20, 2002 at 06:20:09PM +0100, Angus Leeming wrote:
> > > Well I've only browsed your xforms email, but we need a sub-region not
> > > the entire workarea object, unless you fancy copying a massive pixmap
> > > on every cursor blink (didn't think so).
> >
> > That's what we do now. See the code in xscreen.C. Oh! you have ;-)
>
> Eh ? No it isn't - without my patch, then we only XCopyArea() the amount
> of stuff that actually changed - see the optimizations in screen.C (we
> can do better, but that's by the by)
[snip...]
> > Sure. But this will be equally bad for all other toolkits too unless we
> > can think of some way of telling them which area to redraw.
>
> Eh ? screen::expose is already generating correctly sized rectangles
> (try it without my patch). This works great with Qt frontend.

Ok, understood. Thanks for clearing up my misunderstanding.

So, the next step is to make the screen modify the work area pixmap (hide the 
work area window) and emit an expose call. Now does the associated XEvent * 
xev have info about which bit of the widow is to be redrawn or do we just 
copy the entire pixmap into the window.

Angus

Reply via email to