diff --git a/src/abstract_client.cpp b/src/abstract_client.cpp index 46087282fa..f12b497b8e 100644 --- a/src/abstract_client.cpp +++ b/src/abstract_client.cpp @@ -496,8 +496,10 @@ void AbstractClient::setDesktops(QVector desktops) updateWindowRules(Rules::Desktops); Q_EMIT desktopChanged(); - if (wasOnCurrentDesktop != isOnCurrentDesktop()) + if (wasOnCurrentDesktop != isOnCurrentDesktop()) { + addWorkspaceRepaint(visibleGeometry()); Q_EMIT desktopPresenceChanged(this, was_desk); + } Q_EMIT x11DesktopIdsChanged(); }