Using XFlush() instead of XSync() avoids a round trip to the X server
on each call to DevUpdate(). That speeds plotting when using XQuartz on Macintosh and makes iplot useable there.
This commit is contained in:
parent
24425315f8
commit
8a9fd1eff2
|
|
@ -894,7 +894,7 @@ int
|
||||||
X11_Update(void)
|
X11_Update(void)
|
||||||
{
|
{
|
||||||
if (X11_Open)
|
if (X11_Open)
|
||||||
XSync(display, 0);
|
XFlush(display);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue