mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pipewire: module-x11-bell: check source creation
This commit is contained in:
		
							parent
							
								
									84cc3d7dc6
								
							
						
					
					
						commit
						ffabf78cb7
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -180,6 +180,8 @@ static int x11_connect(struct impl *impl, const char *name)
 | 
				
			||||||
	impl->source = pw_loop_add_io(impl->loop,
 | 
						impl->source = pw_loop_add_io(impl->loop,
 | 
				
			||||||
			ConnectionNumber(impl->display),
 | 
								ConnectionNumber(impl->display),
 | 
				
			||||||
			SPA_IO_IN, false, display_io, impl);
 | 
								SPA_IO_IN, false, display_io, impl);
 | 
				
			||||||
 | 
						if (!impl->source)
 | 
				
			||||||
 | 
							return -errno;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	major = XkbMajorVersion;
 | 
						major = XkbMajorVersion;
 | 
				
			||||||
	minor = XkbMinorVersion;
 | 
						minor = XkbMinorVersion;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue