mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	view: display scratchpad hidden containers when activated by ftm
This commit is contained in:
		
							parent
							
								
									4f718e6c75
								
							
						
					
					
						commit
						3520fd2c19
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -625,7 +625,12 @@ static void handle_foreign_activate_request(
 | 
			
		|||
	struct sway_seat *seat;
 | 
			
		||||
	wl_list_for_each(seat, &server.input->seats, link) {
 | 
			
		||||
		if (seat->wlr_seat == event->seat) {
 | 
			
		||||
			if (container_is_scratchpad_hidden_or_child(view->container)) {
 | 
			
		||||
				root_scratchpad_show(view->container);
 | 
			
		||||
			}
 | 
			
		||||
			seat_set_focus_container(seat, view->container);
 | 
			
		||||
			seat_consider_warp_to_focus(seat);
 | 
			
		||||
			container_raise_floating(view->container);
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue