diff options
author | hdu <duerr@sun.com> | 2010-02-15 17:23:06 +0100 |
---|---|---|
committer | hdu <duerr@sun.com> | 2010-02-15 17:23:06 +0100 |
commit | b0b248a9d63fdbed74fb87aaf6a5246beb30369d (patch) | |
tree | b081ec935768c7bc83e63362166ff33b7a69f3b8 /vcl/unx/gtk/window/gtkframe.cxx | |
parent | 8ebc09348128bd97de5e27a5c6a728c9a688dd3f (diff) | |
parent | da2c680d23b67d4721aa29f740475fd6d40e2e08 (diff) |
merged with DEV300_m71
Diffstat (limited to 'vcl/unx/gtk/window/gtkframe.cxx')
-rw-r--r-- | vcl/unx/gtk/window/gtkframe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx index 547a96297102..7caccc23a3b1 100644 --- a/vcl/unx/gtk/window/gtkframe.cxx +++ b/vcl/unx/gtk/window/gtkframe.cxx @@ -1315,7 +1315,7 @@ void GtkSalFrame::Show( BOOL bVisible, BOOL bNoActivate ) setMinMaxSize(); // #i45160# switch to desktop where a dialog with parent will appear - if( m_pParent && m_pParent->m_nWorkArea != m_nWorkArea ) + if( m_pParent && m_pParent->m_nWorkArea != m_nWorkArea && GTK_WIDGET_MAPPED(m_pParent->m_pWindow) ) getDisplay()->getWMAdaptor()->switchToWorkArea( m_pParent->m_nWorkArea ); if( isFloatGrabWindow() && |