[CC to grass-dev]
Lawrence Houston wrote:
While running Sessions Remotely using NX (www.NoMachine.com) I can have
problems using GRASS's XDRIVER: With NX 2.1 the XDRIVER successfully
displays Raster Images, although with NX 3.X the XDRIVER Window remains
"Blank" without the Raster Image being "Visible"!!! Would prefer to use
newer versions of NX, although without being able to view Raster Images
within GRASS that is not really an "Option"... Is there a "Solution" for
GRASS Users using NX 3.X???
I think that this change might be necessary, although I don't know if
the problem which you report is related to it.
--- display/drivers/XDRIVER/Respond.c (revision 39378)
+++ display/drivers/XDRIVER/Respond.c (working copy)
@@ -4,6 +4,7 @@
void XD_Respond(void)
{
+ XSetWindowBackgroundPixmap(dpy, grwin, bkupmap);
XClearWindow(dpy, grwin);
XSync(dpy, 1);
needs_flush = 0;
--
Glynn Clements <glynn@gclements.plus.com>