git.lucas.co / cce-system-interface
system settings
git clone https://git.lucas.co/cce-system-interface.git

commitaf3812579c6d0e59dfeed992e0fa5d7f885ad571
parent1412b55fd5
authorLucas Galante <[email protected]>
date2026-06-25 14:48
Override ui_context in Application impl for SystemInterface to enable backplate dragging

 src/main.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main.rs b/src/main.rs
index a95f4f5..f0fd4e5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -411,6 +411,10 @@ impl cce_ui::engine::Application for SystemInterface {
         &self.text_items
     }
 
+    fn ui_context(&self) -> Option<&cce_ui::context::UiContext> {
+        Some(&self.ui_context)
+    }
+
     fn render_popovers(&self, pc: &mut dyn cce_ui::layout::RenderTarget) {
         cce_ui::layout::render_popovers(pc, &self.ui_context);