mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	shm_open is a POSIX function creating an in-memory file. Using it simplifies the code and removes the dependency on XDG_RUNTIME_DIR. The only downside is that we need to generate a random name for the shm file.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			197 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			197 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
lib_wlr_util = static_library(
 | 
						|
	'wlr_util',
 | 
						|
	files(
 | 
						|
		'array.c',
 | 
						|
		'log.c',
 | 
						|
		'region.c',
 | 
						|
		'shm.c',
 | 
						|
		'signal.c',
 | 
						|
	),
 | 
						|
	include_directories: wlr_inc,
 | 
						|
	dependencies: [wayland_server, pixman, rt],
 | 
						|
)
 |