summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/window
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-05-20 00:25:07 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-05-21 16:06:30 +0200
commit21f8ec1c49efd716669ca55ab946fadd5c97bb7e (patch)
tree1922763fd2a6d7fc8a4902087f5856a3cdede8b9 /vcl/unx/gtk/window
parentf654980aebb5d41a83dd7de94ec2ebf0173c67a7 (diff)
fdo#50173: fix Styles and Formatting gtk crasher
- when using the gtk vcl plugin, pressing F11 in writer crashes libreoffice on some systems with an X error - related: fdo#46687 Change-Id: I235cf327d812b606a357de859b1a959be728d2a1
Diffstat (limited to 'vcl/unx/gtk/window')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index eb77e756eb4c..36be0b223c41 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -3248,6 +3248,7 @@ gboolean GtkSalFrame::signalMap( GtkWidget *pWidget, GdkEvent*, gpointer frame )
XSetInputFocus( pThis->getDisplay()->GetDisplay(),
widget_get_xid(pWidget),
RevertToParent, CurrentTime );
+ XSync( pThis->getDisplay()->GetDisplay(), False );
GetGenericData()->ErrorTrapPop();
}
#else