mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	view_minimize() does not need to call desktop_move_to_back() because the stacking order is not changed and the windowSwitcher uses the scene-tree nodes anyway. Note: Movement of xwayland sub-views still relies on keeping server->views in sync with z-order
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			735 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			735 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
						|
#ifndef __LABWC_VIEW_IMPL_COMMON_H
 | 
						|
#define __LABWC_VIEW_IMPL_COMMON_H
 | 
						|
/*
 | 
						|
 * Common code for view->impl functions
 | 
						|
 *
 | 
						|
 * Please note: only xdg-shell-toplevel-view and xwayland-view view_impl
 | 
						|
 * functions should call these functions.
 | 
						|
 */
 | 
						|
struct view;
 | 
						|
 | 
						|
void view_impl_move_to_front(struct view *view);
 | 
						|
void view_impl_move_to_back(struct view *view);
 | 
						|
void view_impl_map(struct view *view);
 | 
						|
 | 
						|
/*
 | 
						|
 * Updates view geometry at commit based on current position/size,
 | 
						|
 * pending move/resize, and committed surface size. The computed
 | 
						|
 * position may not match pending.x/y exactly in some cases.
 | 
						|
 */
 | 
						|
void view_impl_apply_geometry(struct view *view, int w, int h);
 | 
						|
 | 
						|
#endif /* __LABWC_VIEW_IMPL_COMMON_H */
 |