mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	Revert "Check that inhibitor scene tree is not null"
This reverts commit 9c155eefdc.
This commit was applied just a workaround, the proper fix is the next commit
			
			
This commit is contained in:
		
							parent
							
								
									9c155eefdc
								
							
						
					
					
						commit
						035bb99d67
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -598,7 +598,7 @@ checkidleinhibitor(struct wlr_surface *exclude)
 | 
				
			||||||
	wl_list_for_each(inhibitor, &idle_inhibit_mgr->inhibitors, link) {
 | 
						wl_list_for_each(inhibitor, &idle_inhibit_mgr->inhibitors, link) {
 | 
				
			||||||
		struct wlr_scene_tree *tree = inhibitor->surface->data;
 | 
							struct wlr_scene_tree *tree = inhibitor->surface->data;
 | 
				
			||||||
		if (bypass_surface_visibility || (exclude != inhibitor->surface
 | 
							if (bypass_surface_visibility || (exclude != inhibitor->surface
 | 
				
			||||||
				&& tree && tree->node.enabled)) {
 | 
									&& tree->node.enabled)) {
 | 
				
			||||||
			inhibited = 1;
 | 
								inhibited = 1;
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue