[GRASS5] closing monitors by click

Andreas Lange Andreas.Lange at Rhein-Main.de
Tue Nov 28 15:23:51 EST 2000


Markus,

it is really annoying, i agree.
There is still the code around in the SWITCHER.c file of the monitors
driver that closes the Grapics driver on the X event. But it doesn't
work. I digged around the X Events and modified, but i couldn't get it
to work i remember.

It may have worked with previous versions of X11 (R4??). 
If some X11 specialist can tell me which ClientMessage event.type to use
(XInternAtom(); ), i'll give it a new try.

It should even be possible to redraw the screen contents on re-sizing
the window. 

I won't promise anything,

Andreas

Markus Neteler wrote:
> 
> Hi all,
> 
> an annoying problem is that you cannot close GRASS monitors
> by mouse click. As being teaching GRASS in seminars, first
> action of students is usually to kill a monitor with a click
> (close of window) which runs the monitor management into troubles.
> 
> Helena told me that in past this procedure of closing was
> *possible* without confusing GRASS. I wish we could (re-)implement
> this.
> 
> Maybe the lock file could be ignored if the x0, x1,.. process
> is killed (by user request).
> 
> But it's really a pain to teach others not to kill a monitor
> but to use d.mon instead (or tcltkgrass).
> 
> Probably someone has an idea for more monitor convenience?
> These monitor troubles are one reason that many people dislike
> GRASS.
> 
> Thanks in advance
> 
>  Markus
> 
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange at Rhein-Main.de - A.C.Lange at GMX.net


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list