[GRASS5] xwindows - how to capture window geometry for monitor

Hamish hamish_nospam at yahoo.com
Thu Mar 25 20:12:01 EST 2004

> The mechanism which gui.tcl uses (xwininfo) should be avoided, as:
> Furthermore, that particular hack should be removed from gui.tcl at
> the earliest opportunity.
> Currently, there doesn't appear to be any mechanism to obtain this
> information from within a script. I'm willing to write the
> necessary C code, but would appreciate suggestions regarding how it
> should be implemented (e.g. whether it's a separate utility, an
> extension to d.mon, etc).

How about 'd.frame -D' and parse for the full_screen d_win: section?


More information about the grass-dev mailing list