Don't trigger decoration repaint when ShellClient geometry changes

The geometry change will trigger an update through the signals on the
decoration anyway. Thus a dedicated repaint is not needed.
This commit is contained in:
Martin Gräßlin 2016-08-10 12:36:18 +02:00
parent 09ba49e401
commit 089059aba3

View file

@ -492,7 +492,6 @@ void ShellClient::doSetGeometry(const QRect &rect)
m_internalWindow->setGeometry(windowRect);
}
}
triggerDecorationRepaint();
if (hasStrut()) {
workspace()->updateClientArea();
}