[decorations] Delay closeWindow to next event cycle
Once again our famous "closing glxgears crashes Aurorae". BUG: 346857 FIXED-IN: 5.4.3 REVIEW: 125704
This commit is contained in:
parent
e2ffdadc6d
commit
10ad9262a1
1 changed files with 5 additions and 1 deletions
|
@ -163,10 +163,14 @@ DELEGATE(requestToggleKeepBelow, KeepBelowOp)
|
|||
|
||||
DELEGATE(requestContextHelp, showContextHelp)
|
||||
DELEGATE(requestMinimize, minimize)
|
||||
DELEGATE(requestClose, closeWindow)
|
||||
|
||||
#undef DELEGATE
|
||||
|
||||
void DecoratedClientImpl::requestClose()
|
||||
{
|
||||
QMetaObject::invokeMethod(m_client, "closeWindow", Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
QColor DecoratedClientImpl::color(KDecoration2::ColorGroup group, KDecoration2::ColorRole role) const
|
||||
{
|
||||
auto dp = m_client->decorationPalette();
|
||||
|
|
Loading…
Reference in a new issue