mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix crash when view in scratchpad becomes urgent
This commit is contained in:
		
							parent
							
								
									e5c9204b49
								
							
						
					
					
						commit
						3cc7de3fb4
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -1028,7 +1028,9 @@ void view_set_urgent(struct sway_view *view, bool enable) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ipc_event_window(view->container, "urgent");
 | 
						ipc_event_window(view->container, "urgent");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (view->container->workspace) {
 | 
				
			||||||
		workspace_detect_urgent(view->container->workspace);
 | 
							workspace_detect_urgent(view->container->workspace);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool view_is_urgent(struct sway_view *view) {
 | 
					bool view_is_urgent(struct sway_view *view) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue