Displaying 2 results from an estimated 2 matches for "x11desc".
2001 Feb 13
1
X11 device doesn't handle destroy events correcly (PR#848)
...X11.c_orig Tue Feb 13 15:32:24 2001
--- devX11.c Tue Feb 13 17:24:04 2001
***************
*** 116,121 ****
--- 116,122 ----
FILE *fp; /* file for a bitmap device */
int quality; /* JPEG quality */
+ Rboolean inclose; /* TRUE if window is being closed */
} x11Desc;
***************
*** 145,151 ****
static Atom _XA_WM_PROTOCOLS, protocol;
static Rboolean displayOpen = FALSE;
- static Rboolean inclose = FALSE;
static int numX11Devices = 0;
/********************************************************/
--- 146,151 ----
***************
*** 619,63...
1999 Feb 16
1
Missing tick marks bug on alpha solved
...in X11_Line(...) from .../src/unix/devX11.c, which is
so short I've included the whole function below:
static void X11_Line(double x1, double y1, double x2, double y2,
int coords, DevDesc *dd)
{
double xx1, yy1, xx2, yy2; <----------- should be int!
x11Desc *xd = (x11Desc *) dd->deviceSpecific;
/* In-place conversion ok */
GConvert(&x1, &y1, coords, DEVICE, dd);
GConvert(&x2, &y2, coords, DEVICE, dd);
xx1 = (int) x1;
yy1 = (int) y1;
xx2 = (int) x2;
yy2 = (int) y2;
SetColor(dd->gp.col, dd);
S...