git.lucas.co / cce-authenticator
login authentication (PAM + fingerprint)
git clone https://git.lucas.co/cce-authenticator.git

commit629397c8a9b8c54d2f27a5c7a7dfeefbb5940047
parent259c7c190e
authorLucas Galante <[email protected]>
date2026-07-12 19:33
refactor: Element -> WidgetHost (cce-ui 6bd flip)

Mechanical rename; the god-trait name is gone workspace-wide.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018u7qTwzX95dd5ysAkaSCLk

 src/main.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index 15b99f5..453c12c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,7 +1,7 @@
 use wayland_client::QueueHandle;
 use cce_ui::engine::{Application, EngineState, LogicalPosition, LogicalSize, WindowSettings};
 use cce_ui::widget::{
-    Button, ContentBg, Element, ElementState, MouseButton, Key, NamedKey, KeyEvent, TextBox,
+    Button, ContentBg, WidgetHost, ElementState, MouseButton, Key, NamedKey, KeyEvent, TextBox,
     MouseScrollDelta
 };
 use futures::StreamExt;
@@ -605,7 +605,7 @@ impl Application for AuthenticatorApp {
 }
 
 impl AuthenticatorApp {
-    fn widgets_iter(&self) -> Vec<&dyn Element> {
+    fn widgets_iter(&self) -> Vec<&dyn WidgetHost> {
         vec![
             &self.bg,
             &self.password_box,
@@ -616,7 +616,7 @@ impl AuthenticatorApp {
     }
 
     #[allow(dead_code)]
-    fn widgets_iter_mut(&mut self) -> Vec<&mut dyn Element> {
+    fn widgets_iter_mut(&mut self) -> Vec<&mut dyn WidgetHost> {
         vec![
             &mut self.bg,
             &mut self.password_box,