os: Try to discover the current seat with the XDG_SEAT var first
(cherry picked from commit ca1dfdc9aa)
			
			
This commit is contained in:
		
							parent
							
								
									9852b29380
								
							
						
					
					
						commit
						b27eaa7283
					
				|  | @ -681,6 +681,7 @@ ProcessCommandLine(int argc, char *argv[]) | ||||||
|                     ErrorF("Failed to disable listen for %s transport", |                     ErrorF("Failed to disable listen for %s transport", | ||||||
|                            defaultNoListenList[i]); |                            defaultNoListenList[i]); | ||||||
|     } |     } | ||||||
|  |     SeatId = getenv("XDG_SEAT"); | ||||||
| 
 | 
 | ||||||
|     for (i = 1; i < argc; i++) { |     for (i = 1; i < argc; i++) { | ||||||
|         /* call ddx first, so it can peek/override if it wants */ |         /* call ddx first, so it can peek/override if it wants */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue