mirror of
				https://codeberg.org/waydeer/layer-shika.git
				synced 2025-11-04 03:04:23 +00:00 
			
		
		
		
	refactor: remove display field
This commit is contained in:
		
							parent
							
								
									e607e24633
								
							
						
					
					
						commit
						ea0c99a1af
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
					@ -40,7 +40,6 @@ pub struct WindowingSystem {
 | 
				
			||||||
    connection: Rc<Connection>,
 | 
					    connection: Rc<Connection>,
 | 
				
			||||||
    event_queue: Rc<RefCell<EventQueue<WindowState>>>,
 | 
					    event_queue: Rc<RefCell<EventQueue<WindowState>>>,
 | 
				
			||||||
    component_instance: Rc<ComponentInstance>,
 | 
					    component_instance: Rc<ComponentInstance>,
 | 
				
			||||||
    display: WlDisplay,
 | 
					 | 
				
			||||||
    event_loop: EventLoop<'static, ()>,
 | 
					    event_loop: EventLoop<'static, ()>,
 | 
				
			||||||
    event_loop_handler: EventLoopHandler,
 | 
					    event_loop_handler: EventLoopHandler,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -83,7 +82,6 @@ impl WindowingSystem {
 | 
				
			||||||
            connection,
 | 
					            connection,
 | 
				
			||||||
            event_queue,
 | 
					            event_queue,
 | 
				
			||||||
            component_instance,
 | 
					            component_instance,
 | 
				
			||||||
            display,
 | 
					 | 
				
			||||||
            event_loop,
 | 
					            event_loop,
 | 
				
			||||||
            event_loop_handler,
 | 
					            event_loop_handler,
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
| 
						 | 
					@ -279,8 +277,4 @@ impl WindowingSystem {
 | 
				
			||||||
    pub fn state(&self) -> Ref<WindowState> {
 | 
					    pub fn state(&self) -> Ref<WindowState> {
 | 
				
			||||||
        self.state.borrow()
 | 
					        self.state.borrow()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    pub const fn display(&self) -> &WlDisplay {
 | 
					 | 
				
			||||||
        &self.display
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue