Hi,

2008/7/9 Glynn Clements <[EMAIL PROTECTED]>:
>> 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 *
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to