From 2a352e67ddd08bad2ba12fb035f93f8dcadf4876 Mon Sep 17 00:00:00 2001 From: redstrate Date: Tue, 7 Dec 2021 20:30:36 -0500 Subject: [PATCH] Fix login queue message not correctly showing number of spots moved --- src/watchdog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/watchdog.cpp b/src/watchdog.cpp index 531acc4..4dd955a 100644 --- a/src/watchdog.cpp +++ b/src/watchdog.cpp @@ -138,8 +138,6 @@ void Watchdog::launchGame(const ProfileSettings &settings, LoginAuth auth) { } else { auto result = parser->parseImage(qimageFromXImage(image)); if (result != lastResult) { - lastResult = result; - switch (result.state) { case ScreenState::InLoginQueue: { icon->showMessage("Watchdog", @@ -165,6 +163,8 @@ void Watchdog::launchGame(const ProfileSettings &settings, LoginAuth auth) { } break; } + + lastResult = result; } XFreePixmap(display, picture);