mirror of
				https://github.com/labwc/labwc.git
				synced 2025-10-29 05:40:24 -04:00 
			
		
		
		
	 9e6aaa689a
			
		
	
	
		9e6aaa689a
		
	
	
	
	
		
			
			This ensures all event listeners are removed before the emitting wlroots object is being destroyed. This will be enforced with asserts in wlroots 0.19 but there is no reason to not do it right now either. This change in wlroots 0.19 is implemented via commit 8f56f7ca43257cc05c7c4eb57a0f541e05cf9a79 "Assert (almost all) signals have no attached listeners on destroy"
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			548 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			548 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-only */
 | |
| #ifndef LABWC_DECORATIONS_H
 | |
| #define LABWC_DECORATIONS_H
 | |
| 
 | |
| struct server;
 | |
| struct view;
 | |
| struct wlr_surface;
 | |
| 
 | |
| void kde_server_decoration_init(struct server *server);
 | |
| void xdg_server_decoration_init(struct server *server);
 | |
| 
 | |
| void kde_server_decoration_update_default(void);
 | |
| void kde_server_decoration_set_view(struct view *view, struct wlr_surface *surface);
 | |
| 
 | |
| void kde_server_decoration_finish(struct server *server);
 | |
| void xdg_server_decoration_finish(struct server *server);
 | |
| 
 | |
| #endif /* LABWC_DECORATIONS_H */
 |