refactor: remove display field

WIP/draft
drendog 2024-08-18 03:02:34 +02:00
parent e607e24633
commit ea0c99a1af
Signed by: dwenya
GPG Key ID: 8DD77074645332D0
1 changed files with 0 additions and 6 deletions

View File

@ -40,7 +40,6 @@ pub struct WindowingSystem {
connection: Rc<Connection>,
event_queue: Rc<RefCell<EventQueue<WindowState>>>,
component_instance: Rc<ComponentInstance>,
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<WindowState> {
self.state.borrow()
}
pub const fn display(&self) -> &WlDisplay {
&self.display
}
}