From 26ee3808bd053707e8148baa92192b544aaa8530 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Mon, 16 Oct 2000 12:48:36 +0000 Subject: [PATCH] make verifyTransient() more defensive to help mac menus svn path=/trunk/kdebase/kwin/; revision=68012 --- client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.cpp b/client.cpp index c66cb4d265..4c1f185d26 100644 --- a/client.cpp +++ b/client.cpp @@ -2730,6 +2730,8 @@ void Client::verifyTransientFor() } if ( old_transient_for != transient_for && workspace()->findClient( transient_for ) ) XSetTransientForHint( qt_xdisplay(), win, transient_for ); + else + transient_for = old_transient_for; // nice try } NoBorderClient::NoBorderClient( Workspace *ws, WId w, QWidget *parent, const char *name )