login authentication (PAM + fingerprint)
git clone https://git.lucas.co/cce-authenticator.git
Implement ui_context for Application to support default draggable window
src/main.rs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main.rs b/src/main.rs
index be30cae..fb65e40 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -89,6 +89,10 @@ struct AuthenticatorApp {
impl Application for AuthenticatorApp {
type Message = AppMessage;
+ fn ui_context(&self) -> Option<&cce_ui::context::UiContext> {
+ Some(&self.ui_context)
+ }
+
fn new(_qh: &QueueHandle<EngineState<Self>>, sender: calloop::channel::Sender<Self::Message>) -> Self {
let font_system = FontSystem::new();
let bg = ContentBg::new();