From 988a1eed4320309c54713c8bcfa860755fcb10ae Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 18 Aug 2002 23:35:31 +0000 Subject: check transient later --- src/Workspace.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Workspace.cc b/src/Workspace.cc index ad67c8b..341f569 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Workspace.cc,v 1.24 2002/08/16 11:02:41 fluxgen Exp $ +// $Id: Workspace.cc,v 1.25 2002/08/18 23:35:31 fluxgen Exp $ #include "Workspace.hh" @@ -139,8 +139,11 @@ int Workspace::removeWindow(FluxboxWindow *w) { Fluxbox::instance()->setFocusedWindow(0); // set focused window to none } else if (w->isTransient() && w->getTransientFor() && w->getTransientFor()->isVisible()) { - if (w->getTransientFor() == w) // FATAL ERROR, this should not happend + /* TODO: check transient + if (w->getTransientFor() == w) { // FATAL ERROR, this should not happend + cerr<<"w->getTransientFor() == w: aborting!"<getTransientFor()->setInputFocus(); } else { FluxboxWindow *top = 0; -- cgit v0.11.2