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:
parent
d36b5b10da
commit
42d7554980
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue