summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-07-14 15:20:32 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-07-14 15:20:32 +0200
commitf6b6953a56dec219365997c265bef7b98557c53e (patch)
treefc2f63f6a1bc214e5ef9bebc07c6d989d3a729f1 /src
parenta309654df1fe16a73aa041dc76812c176f915ec4 (diff)
call XSync() to avoid "Cannot get ghostview property" error from gs
reported by A Mennucc.
Diffstat (limited to 'src')
-rw-r--r--src/GsWidget.cxx2
1 files changed, 2 insertions, 0 deletions
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() {