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:
parent
ec8a9f7cf7
commit
3982f8399f
2 changed files with 0 additions and 2 deletions
|
@ -234,7 +234,6 @@ void AbstractClient::markAsZombie()
|
|||
{
|
||||
Q_ASSERT(!m_zombie);
|
||||
m_zombie = true;
|
||||
addWorkspaceRepaint(visibleGeometry());
|
||||
}
|
||||
|
||||
Layer AbstractClient::layer() const
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue