From 7c63347c12a0f2c85f0935a941d8978eb763d1f1 Mon Sep 17 00:00:00 2001 From: Hue Date: Mon, 1 Jun 2026 20:20:23 +0200 Subject: [PATCH 1/2] =?UTF-8?q?locker=C2=A0:=20make=20fingerprint=20upadte?= =?UTF-8?q?s=20count=20as=20activity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This causes the locker widgets to pop out when the fingerprint widget is updated, as it happens following user activity (fingerprint verification) or to notify the user of a change in sensor state --- src/locker/plugin/fingerprint.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/locker/plugin/fingerprint.cpp b/src/locker/plugin/fingerprint.cpp index 210a8790..37b356dd 100644 --- a/src/locker/plugin/fingerprint.cpp +++ b/src/locker/plugin/fingerprint.cpp @@ -439,6 +439,13 @@ void WayfireLockerFingerprintPlugin::update(std::string label, std::string image label_contents = label; color_contents = color; + // the text is susceptible to be updated when the elements of the locker are otherwise hidden, + // notably by verification status, so something happened that we can count as activity + for (auto pair : WayfireLockerApp::get().window_list) + { + pair.second->window_activity(); + } + for (auto& it : widgets) { it.second->label.set_label(label); From d24721319397c2022f5bd086af4b5ab384c83270 Mon Sep 17 00:00:00 2001 From: trigg Date: Thu, 4 Jun 2026 22:51:32 +0100 Subject: [PATCH 2/2] locker: fingerprint activity should only affect itself --- src/locker/plugin/fingerprint.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/locker/plugin/fingerprint.cpp b/src/locker/plugin/fingerprint.cpp index 37b356dd..9fed7fda 100644 --- a/src/locker/plugin/fingerprint.cpp +++ b/src/locker/plugin/fingerprint.cpp @@ -439,13 +439,6 @@ void WayfireLockerFingerprintPlugin::update(std::string label, std::string image label_contents = label; color_contents = color; - // the text is susceptible to be updated when the elements of the locker are otherwise hidden, - // notably by verification status, so something happened that we can count as activity - for (auto pair : WayfireLockerApp::get().window_list) - { - pair.second->window_activity(); - } - for (auto& it : widgets) { it.second->label.set_label(label); @@ -458,6 +451,8 @@ void WayfireLockerFingerprintPlugin::update(std::string label, std::string image { widget->add_css_class(color); } + + it.second->activity(); } }