Don't sleep(1) at exit on any platform.
This commit is contained in:
		
							parent
							
								
									4c9cc82fc4
								
							
						
					
					
						commit
						2c01a49bf0
					
				| 
						 | 
					@ -1307,10 +1307,6 @@ AbortDDX()
 | 
				
			||||||
  /*
 | 
					  /*
 | 
				
			||||||
   * try to restore the original video state
 | 
					   * try to restore the original video state
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
#if defined(HAS_USL_VTS) && !defined(linux)
 | 
					 | 
				
			||||||
  /* Need the sleep when starting X from within another X session */
 | 
					 | 
				
			||||||
  sleep(1);
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef DPMSExtension /* Turn screens back on */
 | 
					#ifdef DPMSExtension /* Turn screens back on */
 | 
				
			||||||
  if (DPMSPowerLevel != DPMSModeOn)
 | 
					  if (DPMSPowerLevel != DPMSModeOn)
 | 
				
			||||||
      DPMSSet(DPMSModeOn);
 | 
					      DPMSSet(DPMSModeOn);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue