summaryrefslogtreecommitdiff
diff options
-rw-r--r--launcher/LauncherController.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/LauncherController.cpp b/launcher/LauncherController.cpp
index de345c4f4..e4df86642 100644
--- a/launcher/LauncherController.cpp
+++ b/launcher/LauncherController.cpp
@@ -199,6 +199,10 @@ void Controller::Impl::EnsureLaunchers(int primary, std::vector<nux::Geometry> c
unsigned int launchers_size = launchers.size();
unsigned int last_launcher = 0;
+ // Reset the icon centers: only the used icon centers must contain valid values
+ for (auto const& icon : *model_)
+ icon->ResetCenters();
+
for (unsigned int i = 0; i < num_launchers; ++i, ++last_launcher)
{
if (i >= launchers_size)