diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-07-14 15:20:32 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-07-14 15:20:32 +0200 |
commit | f6b6953a56dec219365997c265bef7b98557c53e (patch) | |
tree | fc2f63f6a1bc214e5ef9bebc07c6d989d3a729f1 | |
parent | a309654df1fe16a73aa041dc76812c176f915ec4 (diff) |
call XSync() to avoid "Cannot get ghostview property" error from gs
reported by A Mennucc.
-rw-r--r-- | src/GsWidget.cxx | 2 |
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() { |