Cygwin/X: XSupportsLocale() failure is non-critical
Treat XSupportsLocale() returning false as non-critical to internal client theads startup, and issue a warning, not an error Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
		
							parent
							
								
									f60b7712b3
								
							
						
					
					
						commit
						22982b9e95
					
				| 
						 | 
				
			
			@ -119,8 +119,7 @@ winClipboardProc (void *pvNotUsed)
 | 
			
		|||
  /* See if X supports the current locale */
 | 
			
		||||
  if (XSupportsLocale () == False)
 | 
			
		||||
    {
 | 
			
		||||
      ErrorF ("winClipboardProc - Locale not supported by X.  Exiting.\n");
 | 
			
		||||
      pthread_exit (NULL);
 | 
			
		||||
      ErrorF ("winClipboardProc - Warning: Locale not supported by X.\n");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  /* Set jump point for Error exits */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -893,9 +893,7 @@ winMultiWindowXMsgProc (void *pArg)
 | 
			
		|||
  /* See if X supports the current locale */
 | 
			
		||||
  if (XSupportsLocale () == False)
 | 
			
		||||
    {
 | 
			
		||||
      ErrorF ("winMultiWindowXMsgProc - Locale not supported by X.  "
 | 
			
		||||
	      "Exiting.\n");
 | 
			
		||||
      pthread_exit (NULL);
 | 
			
		||||
      ErrorF ("winMultiWindowXMsgProc - Warning: locale not supported by X\n");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  /* Release the server started mutex */
 | 
			
		||||
| 
						 | 
				
			
			@ -1278,8 +1276,7 @@ winInitMultiWindowWM (WMInfoPtr pWMInfo, WMProcArgPtr pProcArg)
 | 
			
		|||
  /* See if X supports the current locale */
 | 
			
		||||
  if (XSupportsLocale () == False)
 | 
			
		||||
    {
 | 
			
		||||
      ErrorF ("winInitMultiWindowWM - Locale not supported by X.  Exiting.\n");
 | 
			
		||||
      pthread_exit (NULL);
 | 
			
		||||
      ErrorF ("winInitMultiWindowWM - Warning: Locale not supported by X.\n");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  /* Release the server started mutex */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue