Test popup remapping and keep headless input tests isolated

This commit is contained in:
evgeny committed 2026-10-07 16:38:33 +02:00
1 parent d62fae9e88
commit 0d618964a7
2 files changed
+20

No files matched your search

@@ -184,6 +184,8 @@ void UserActivityMonitor::useLocalActivity() {
}
qint64 UserActivityMonitor::systemIdleTime() {
const QString platform = QGuiApplication::platformName();
if (platform == "offscreen" || platform == "minimal") return -1;
#ifdef Q_OS_WIN
LASTINPUTINFO info = {sizeof(info), 0};
if (!GetLastInputInfo(&info)) { GUI_WARN("activity: GetLastInputInfo failed error=%lu", GetLastError()); return -1; }