Remove some redundant addWorkspaceRepaint() calls

These repaints were added to fix visual artifacts that appear when
shadow is removed, but since items schedule repaints when needed, we can
remove these two.
This commit is contained in:
Vlad Zahorodnii 2021-08-12 21:19:57 +03:00
parent ec8a9f7cf7
commit 3982f8399f
2 changed files with 0 additions and 2 deletions

View file

@ -234,7 +234,6 @@ void AbstractClient::markAsZombie()
{
Q_ASSERT(!m_zombie);
m_zombie = true;
addWorkspaceRepaint(visibleGeometry());
}
Layer AbstractClient::layer() const

View file

@ -131,7 +131,6 @@ bool Unmanaged::track(xcb_window_t w)
void Unmanaged::release(ReleaseReason releaseReason)
{
addWorkspaceRepaint(visibleGeometry());
Deleted* del = nullptr;
if (releaseReason != ReleaseReason::KWinShutsDown) {
del = Deleted::create(this);