diff libvo/vo_xvidix.c @ 6953:ce67cc1f0beb

ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warning patch Kazunori Ueno <jagarl@creator.club.ne.jp>
author arpi
date Fri, 09 Aug 2002 17:43:49 +0000
parents 72a8d1d91472
children eca7dbad0166
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Fri Aug 09 17:20:46 2002 +0000
+++ b/libvo/vo_xvidix.c	Fri Aug 09 17:43:49 2002 +0000
@@ -292,7 +292,7 @@
 	 {
 	  XUnmapWindow(mDisplay, vo_window);
 	  XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa);
-	  XSelectInput( mDisplay,vo_window,StructureNotifyMask | KeyPressMask | PropertyChangeMask | PointerMotionMask | ButtonPressMask | ButtonReleaseMask | ExposureMask );
+	  vo_x11_selectinput_witherr( mDisplay,vo_window,StructureNotifyMask | KeyPressMask | PropertyChangeMask | PointerMotionMask | ButtonPressMask | ButtonReleaseMask | ExposureMask );
 	 } else XSelectInput( mDisplay,vo_window,ExposureMask );
     }
     else