diff options
author | hdu <duerr@sun.com> | 2010-01-05 17:21:05 +0100 |
---|---|---|
committer | hdu <duerr@sun.com> | 2010-01-05 17:21:05 +0100 |
commit | a1eb9ea9ea770ef1634d4373351ed7bf4617f66d (patch) | |
tree | 078ce82ec677d047bda274dd9146bb650b4c502e /vcl/unx/gtk/window/gtkframe.cxx | |
parent | 196a6282b4b387cf0bd6d03eae50851cbf8a3f6d (diff) |
#i88303# dynamically match the system's font options (thanks cmc!)
Diffstat (limited to 'vcl/unx/gtk/window/gtkframe.cxx')
-rw-r--r-- | vcl/unx/gtk/window/gtkframe.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx index 92ff2d3b8d8e..547a96297102 100644 --- a/vcl/unx/gtk/window/gtkframe.cxx +++ b/vcl/unx/gtk/window/gtkframe.cxx @@ -3127,10 +3127,13 @@ void GtkSalFrame::signalStyleSet( GtkWidget*, GtkStyle* pPrevious, gpointer fram // redraw itself to adjust to the new style // where there IS no new style resulting in tremendous unnecessary flickering if( pPrevious != NULL ) + { // signalStyleSet does NOT usually have the gdk lock // so post user event to safely dispatch the SALEVENT_SETTINGSCHANGED // note: settings changed for multiple frames is avoided in winproc.cxx ImplHandleSettings pThis->getDisplay()->SendInternalEvent( pThis, NULL, SALEVENT_SETTINGSCHANGED ); + pThis->getDisplay()->SendInternalEvent( pThis, NULL, SALEVENT_FONTCHANGED ); + } /* #i64117# gtk sets a nice background pixmap * but we actually don't really want that, so save |