[GRASS5] Re: [GRASSLIST:2702] Re: Grass 5.7 smart display

Glynn Clements glynn.clements at virgin.net
Mon Feb 23 04:55:31 EST 2004


Hamish wrote:

> Another drawing aggravation:
> 
> If you change the window size (drag the corner) while several maps are
> displayed, it will redraw all the maps on the list to completion before
> noticing the window size has changed, then blank and redraw everything
> again.
> 
> This can be tedious when working over a tunneled X connection with
> complicated maps..

So don't drag the window borders; use d.resize. Or configure your
window manager not to continuously emit resize requests during
dragging.

> Is it possible/practicable to check for a window resize between
> drawing commands or even ~4 times per map?

It may be possible, but it would be a great deal of work, and pretty
easy to get wrong.

The monitor has to spawn a child process to do run the commands, as
the main process has to keep running to service the requests which the
commands generate. The child process doesn't have anything to do with
X, and changing that (i.e. having both processes read the same X
connection) would be complex.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list