Mercurial > mplayer.hg
diff libvo/vo_xmga.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 | a31b9f15cbff |
children | eca7dbad0166 |
line wrap: on
line diff
--- a/libvo/vo_xmga.c Fri Aug 09 17:20:46 2002 +0000 +++ b/libvo/vo_xmga.c Fri Aug 09 17:43:49 2002 +0000 @@ -293,7 +293,7 @@ { XUnmapWindow( mDisplay,vo_window ); XChangeWindowAttributes( mDisplay,vo_window,xswamask,&xWAttribs); - 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