mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	
							parent
							
								
									eed0b5614f
								
							
						
					
					
						commit
						fc826b921f
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -532,6 +532,8 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (view->impl->wants_floating && view->impl->wants_floating(view)) {
 | 
						if (view->impl->wants_floating && view->impl->wants_floating(view)) {
 | 
				
			||||||
		container_set_floating(view->swayc, true);
 | 
							container_set_floating(view->swayc, true);
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
 | 
							view_set_tiled(view, true);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	input_manager_set_focus(input_manager, cont);
 | 
						input_manager_set_focus(input_manager, cont);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue