Don't crash when closing a window :-)

-    if (c == popup_client)
+    if (c == popup_client && popup)
        popup->close();

svn path=/trunk/kdebase/kwin/; revision=142399
This commit is contained in:
Karol Szwed 2002-03-11 13:09:56 +00:00
parent d36b5b10da
commit 42d7554980

View file

@ -745,7 +745,7 @@ bool Workspace::destroyClient( Client* c)
if ( !c )
return FALSE;
if (c == popup_client)
if (c == popup_client && popup)
popup->close();
storeFakeSessionInfo( c );