X vncviewer refreshing

Tristan Richardson tjr "at" orl.co.uk
Mon, 23 Mar 1998 12:21:49 +0000


> However the window refreshes slowly after being obscured.
> (I use fvwm window manager and switch frequently between virtual screens.)
> It seems to poll the server to re-paint portion of the screen,
> even though this portion has not changed.
> It slows it down very much.

I use tvtwm and don't see this problem.  Presumably this is because fvwm
unmaps windows which aren't visible.  If so it can be fixed by changing line
208 of vncviewer/x.c from:

    attr.backing_store = WhenMapped;

to:

    attr.backing_store = Always;


Cheers

Tristan

+--------------------------------------------------------------------+
|  Tristan Richardson                 Email:  tjr "at" orl.co.uk          |
|  ORL                                  Tel:  +44 1223 343000        |
|  24a Trumpington Street               Fax:  +44 1223 313542        |
|  Cambridge, CB2 1QA, UK               WWW:  http://www.orl.co.uk/  |
+--------------------------------------------------------------------+
|          ORL - The Olivetti & Oracle Research Laboratory           |
+--------------------------------------------------------------------+