mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Remove redundant container creation in view initialization
This commit is contained in:
		
							parent
							
								
									b842b4f32e
								
							
						
					
					
						commit
						25ba80057d
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -34,8 +34,6 @@ void view_init(struct sway_view *view, enum sway_view_type type,
 | 
				
			||||||
	view->marks = create_list();
 | 
						view->marks = create_list();
 | 
				
			||||||
	view->allow_request_urgent = true;
 | 
						view->allow_request_urgent = true;
 | 
				
			||||||
	wl_signal_init(&view->events.unmap);
 | 
						wl_signal_init(&view->events.unmap);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	view->container = container_create(view);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void view_destroy(struct sway_view *view) {
 | 
					void view_destroy(struct sway_view *view) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue