From ea0c99a1afc84243aea933ba662b00220a0dff07 Mon Sep 17 00:00:00 2001 From: drendog Date: Sun, 18 Aug 2024 03:02:34 +0200 Subject: [PATCH] refactor: remove display field --- src/windowing/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/windowing/mod.rs b/src/windowing/mod.rs index 4318b19..46b2dcd 100644 --- a/src/windowing/mod.rs +++ b/src/windowing/mod.rs @@ -40,7 +40,6 @@ pub struct WindowingSystem { connection: Rc, event_queue: Rc>>, component_instance: Rc, - display: WlDisplay, event_loop: EventLoop<'static, ()>, event_loop_handler: EventLoopHandler, } @@ -83,7 +82,6 @@ impl WindowingSystem { connection, event_queue, component_instance, - display, event_loop, event_loop_handler, }) @@ -279,8 +277,4 @@ impl WindowingSystem { pub fn state(&self) -> Ref { self.state.borrow() } - - pub const fn display(&self) -> &WlDisplay { - &self.display - } }