summaryrefslogtreecommitdiff
path: root/gs/src/gdevxini.c
diff options
context:
space:
mode:
authorL Peter Deutsch <lpd@ghostscript.com>2000-08-19 03:31:44 +0000
committerL Peter Deutsch <lpd@ghostscript.com>2000-08-19 03:31:44 +0000
commitd29fc67fd6a07e33bfb95645971e742b55a01209 (patch)
treebb36d61561fc617b73f2795f43f18588adbfce7c /gs/src/gdevxini.c
parent0b7fbec1a229cb6f472a545418a3c2eedb09ee7f (diff)
In the X Windows driver, changes XFlush() to XSync(False) so that updates
will actually complete before the command prompt appears. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@648 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gdevxini.c')
-rw-r--r--gs/src/gdevxini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/src/gdevxini.c b/gs/src/gdevxini.c
index 335d797d3..20fd8b8a5 100644
--- a/gs/src/gdevxini.c
+++ b/gs/src/gdevxini.c
@@ -469,7 +469,7 @@ gdev_x_open(gx_device_X * xdev)
/* Before anything else, do a flush and wait for */
/* an exposure event. */
- XFlush(xdev->dpy);
+ XSync(xdev->dpy, False);
if (xdev->pwin == (Window) None) { /* there isn't a next event for existing windows */
XNextEvent(xdev->dpy, &event);
}