[GRASS-dev] Re: errors compiling nviz in GRASS 7
Martin Landa
landa.martin at gmail.com
Wed Jul 9 03:36:34 EDT 2008
Hi,
2008/7/9 Glynn Clements <glynn at gclements.plus.com>:
>> I am not sure about Xlib-based functions (XFreePixmap, XOpenDisplay,
>> XCreatePixmap)...
>
> For a GUI application, you wouldn't normally be calling these; you
> would let the toolkit handle it. In particular, you would need to use
> the same Display* used by the GUI; getting a new Display* from
> XOpenDisplay() may not work, even if it refers to the same display.
right, it is just used by CLI module (visualization/nviz2/cmd) for
off-screen rendering.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-dev
mailing list