mirror of
				https://github.com/labwc/labwc.git
				synced 2025-10-29 05:40:24 -04:00 
			
		
		
		
	 7ad5200f2e
			
		
	
	
		7ad5200f2e
		
	
	
	
	
		
			
			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".
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			550 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			550 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-only */
 | |
| #ifndef LABWC_SESSION_LOCK_H
 | |
| #define LABWC_SESSION_LOCK_H
 | |
| 
 | |
| #include <wlr/types/wlr_session_lock_v1.h>
 | |
| 
 | |
| struct session_lock {
 | |
| 	struct wlr_session_lock_v1 *lock;
 | |
| 	struct wlr_surface *focused;
 | |
| 	bool abandoned;
 | |
| 
 | |
| 	struct wl_list session_lock_outputs;
 | |
| 
 | |
| 	struct wl_listener new_surface;
 | |
| 	struct wl_listener unlock;
 | |
| 	struct wl_listener destroy;
 | |
| };
 | |
| 
 | |
| void session_lock_init(struct server *server);
 | |
| void session_lock_output_create(struct session_lock *lock, struct output *output);
 | |
| 
 | |
| #endif /* LABWC_SESSION_LOCK_H */
 |