Re: [wmii] Unnecessary(?) redraw on tagging change

From: Chris Foster <foster_AT_physics.uq.edu.au>
Date: Tue, 16 May 2006 00:46:29 +1000

On Mon, May 15, 2006 at 11:07:58AM +0200, Sander van Dijk wrote:
> On 5/15/06, Chris Foster <foster_AT_physics.uq.edu.au> wrote:
> >In particular, suppose I've got a client tagged as '1' and it's in a
> >small area so I'd like to tag it with '1+max' so I can view it at full
> >screen in the 'max' view. Doing so causes a redraw, which I can't see
> >is necessary. I only notice because I'm using X over a network with
> >rather crappy latentcy, and every redraw is irritating.
>
> May I ask what exactly is redrawn? It makes sense to redraw the
> client, since its tags change (and hence its taglabel must be
> updated). Any other redrawing should be unnecessary I think, however.

The whole client area is redrawn. In this case it's a matlab plot going
over a somewhat high latency network and everything inside the window is
redrawn... Of course the title must change as you say but I wouldn't
have thought that would require the rest of the window to be redrawn.
OTOH I know pretty much nothing about X programming :-/

Thanks,
Chris.
Received on Mon May 15 2006 - 16:46:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:05:10 UTC