diff options
author | Christof Pintaske <cp@openoffice.org> | 2001-08-14 07:24:08 +0000 |
---|---|---|
committer | Christof Pintaske <cp@openoffice.org> | 2001-08-14 07:24:08 +0000 |
commit | 96cf29d2beffea7514599844a3b4095ae1b039e5 (patch) | |
tree | 516ea95496faf342cbda8e3fb8450531c611cfbf | |
parent | c94496bcf08a716ae2c7759c13dacd99788229f7 (diff) |
#90393# get rid of wm window after reparenting to the rootwindow
-rw-r--r-- | vcl/unx/source/window/salframe.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/unx/source/window/salframe.cxx b/vcl/unx/source/window/salframe.cxx index 0bd216a842fd..f603f730450c 100644 --- a/vcl/unx/source/window/salframe.cxx +++ b/vcl/unx/source/window/salframe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salframe.cxx,v $ * - * $Revision: 1.60 $ + * $Revision: 1.61 $ * - * last change: $Author: pl $ $Date: 2001-08-13 15:02:52 $ + * last change: $Author: cp $ $Date: 2001-08-14 08:24:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2382,6 +2382,7 @@ long SalFrameData::HandleReparentEvent( XReparentEvent *pEvent ) if( hWM_Parent == pDisplay_->GetRootWindow() || hWM_Parent == hForeignParent_ + || pEvent->parent == pDisplay_->GetRootWindow() || ( nStyle_ & SAL_FRAME_STYLE_FLOAT ) ) { // Reparenting before Destroy |