mirror of
				https://github.com/swaywm/sway.git
				synced 2025-10-29 05:40:18 -04:00 
			
		
		
		
	trigger container update after disabling urgent in timer
switching workspace directly to urgent window creates timer which delays
reset of urgent state so user is able to notice it. make sure state
change is reflected visually as well (border change) by triggering
container update
Fixes: #8377
(cherry picked from commit db76fefd0c)
			
			
This commit is contained in:
		
							parent
							
								
									f75edbe01b
								
							
						
					
					
						commit
						d88c4cf25d
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1094,6 +1094,7 @@ static void seat_send_unfocus(struct sway_node *node, struct sway_seat *seat) { | |||
| static int handle_urgent_timeout(void *data) { | ||||
| 	struct sway_view *view = data; | ||||
| 	view_set_urgent(view, false); | ||||
| 	container_update_itself_and_parents(view->container); | ||||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jan Palus
						Jan Palus