From f6b6953a56dec219365997c265bef7b98557c53e Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 14 Jul 2006 15:20:32 +0200 Subject: call XSync() to avoid "Cannot get ghostview property" error from gs reported by A Mennucc. --- src/GsWidget.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx index 6e5b13e..f429fa0 100644 --- a/src/GsWidget.cxx +++ b/src/GsWidget.cxx @@ -84,6 +84,8 @@ void GsWidget::setProps() { XChangeProperty(fl_display, xid, atoms[1], XA_STRING, 8, PropModeReplace, (unsigned char*) data, strlen(data)); + + XSync(fl_display, False); } void GsWidget::kill_gs() { -- cgit v1.2.3