mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	xdg: rename function to align with xwayland.c
s/position_xdg_toplevel_view/set_initial_position/
This commit is contained in:
		
							parent
							
								
									c646c7bd1b
								
							
						
					
					
						commit
						78418b6dd3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -415,7 +415,7 @@ lookup_view_by_xdg_toplevel(struct server *server,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
position_xdg_toplevel_view(struct view *view)
 | 
					set_initial_position(struct view *view)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct wlr_xdg_toplevel *parent_xdg_toplevel =
 | 
						struct wlr_xdg_toplevel *parent_xdg_toplevel =
 | 
				
			||||||
		xdg_toplevel_from_view(view)->parent;
 | 
							xdg_toplevel_from_view(view)->parent;
 | 
				
			||||||
| 
						 | 
					@ -520,7 +520,7 @@ xdg_toplevel_view_map(struct view *view)
 | 
				
			||||||
		 * is called before map (try "foot --maximized").
 | 
							 * is called before map (try "foot --maximized").
 | 
				
			||||||
		 */
 | 
							 */
 | 
				
			||||||
		if (view_is_floating(view)) {
 | 
							if (view_is_floating(view)) {
 | 
				
			||||||
			position_xdg_toplevel_view(view);
 | 
								set_initial_position(view);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		set_fullscreen_from_request(view, requested);
 | 
							set_fullscreen_from_request(view, requested);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue