mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Made all header files to have LABWC_ prefix in include guard identifers. Converted from __LABWC_ in 35 include/ files. Converted from __LAB_ in 5 include/ files. Added LABWC prefix to 3 include/ files. Added include guards to 3 include/ files. The double underscores were removed since according to C standard those "are always reserved for any use".
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			729 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			729 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 */
 |