[MPlayer-cvslog] r31380 - trunk/gui/wm/ws.c

reimar subversion at mplayerhq.hu
Sun Jun 13 13:51:41 CEST 2010


Author: reimar
Date: Sun Jun 13 13:51:41 2010
New Revision: 31380

Log:
Gui: Do not just exit on X error, just ignoring problems is already
a vastly better solution.

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Sun Jun 13 13:38:18 2010	(r31379)
+++ trunk/gui/wm/ws.c	Sun Jun 13 13:51:41 2010	(r31380)
@@ -189,7 +189,7 @@ static int wsErrorHandler( Display * dpy
  fprintf(stderr,"[ws]  Request code: %d\n",Event->request_code );
  fprintf(stderr,"[ws]  Minor code: %d\n",Event->minor_code );
  fprintf(stderr,"[ws]  Modules: %s\n",current_module?current_module:"(NULL)" );
- exit( 0 );
+ return 0;
 }
 
 void wsXInit( void* mDisplay )


More information about the MPlayer-cvslog mailing list