mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: properly emit view unmap event
This commit is contained in:
		
							parent
							
								
									e607d0f7ee
								
							
						
					
					
						commit
						303883ce49
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -459,6 +459,8 @@ void view_map(struct roots_view *view, struct wlr_surface *surface) {
 | 
				
			||||||
void view_unmap(struct roots_view *view) {
 | 
					void view_unmap(struct roots_view *view) {
 | 
				
			||||||
	assert(view->wlr_surface != NULL);
 | 
						assert(view->wlr_surface != NULL);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						wl_signal_emit(&view->events.unmap, view);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	view_damage_whole(view);
 | 
						view_damage_whole(view);
 | 
				
			||||||
	wl_list_remove(&view->link);
 | 
						wl_list_remove(&view->link);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue