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 )
|
if ( !c )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (c == popup_client)
|
if (c == popup_client && popup)
|
||||||
popup->close();
|
popup->close();
|
||||||
|
|
||||||
storeFakeSessionInfo( c );
|
storeFakeSessionInfo( c );
|
||||||
|
|
Loading…
Reference in a new issue