Mercurial > mplayer.hg
diff libvo/vo_gl2.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 | 2001affedb75 |
children | b65b78640d49 |
line wrap: on
line diff
--- a/libvo/vo_gl2.c Fri Aug 09 17:20:46 2002 +0000 +++ b/libvo/vo_gl2.c Fri Aug 09 17:43:49 2002 +0000 @@ -708,7 +708,7 @@ XSync(mDisplay, False); //XSelectInput(mDisplay, vo_window, StructureNotifyMask); // !!!! - XSelectInput(mDisplay, vo_window, StructureNotifyMask | KeyPressMask | PointerMotionMask + vo_x11_selectinput_witherr(mDisplay, vo_window, StructureNotifyMask | KeyPressMask | PointerMotionMask #ifdef HAVE_NEW_INPUT | ButtonPressMask | ButtonReleaseMask #endif