mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Log wlroots version on startup
Can be useful to make sure a bugfix is included. In the future maybe
the wlroots version string could include a commit hash when built
from source, too.
(cherry picked from commit 78fc9d0d2d)
			
			
This commit is contained in:
		
							parent
							
								
									62e3ca671d
								
							
						
					
					
						commit
						9bdb0ead6e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -12,6 +12,7 @@
 | 
			
		|||
#include <sys/un.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
#include <wlr/util/log.h>
 | 
			
		||||
#include <wlr/version.h>
 | 
			
		||||
#include "sway/commands.h"
 | 
			
		||||
#include "sway/config.h"
 | 
			
		||||
#include "sway/server.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -344,6 +345,7 @@ int main(int argc, char **argv) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	sway_log(SWAY_INFO, "Sway version " SWAY_VERSION);
 | 
			
		||||
	sway_log(SWAY_INFO, "wlroots version " WLR_VERSION_STR);
 | 
			
		||||
	log_kernel();
 | 
			
		||||
	log_distro();
 | 
			
		||||
	log_env();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue