diff --git a/shell_client.cpp b/shell_client.cpp index cf05398188..4d32c271d6 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -224,12 +224,12 @@ void ShellClient::addDamage(const QRegion &damage) } setGeometry(QRect(position, m_clientSize)); } - markAsUnmapped(); + markAsMapped(); setDepth(m_shellSurface->surface()->buffer()->hasAlphaChannel() ? 32 : 24); Toplevel::addDamage(damage); } -void ShellClient::markAsUnmapped() +void ShellClient::markAsMapped() { if (!m_unmapped) { return; diff --git a/shell_client.h b/shell_client.h index ee918b4b4e..bf5bcdf00f 100644 --- a/shell_client.h +++ b/shell_client.h @@ -126,7 +126,7 @@ private: void findInternalWindow(); void updateInternalWindowGeometry(); void updateIcon(); - void markAsUnmapped(); + void markAsMapped(); static void deleteClient(ShellClient *c); KWayland::Server::ShellSurfaceInterface *m_shellSurface;