From 1d17fa69c3b677f50bb2f7debfd959c9ae6c168e Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 9 Aug 2002 17:43:49 +0000 Subject: ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warning patch Kazunori Ueno git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/vo_gl.c') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index f5c704b594..bee1767d45 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -204,7 +204,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin // bpp = myximage->bits_per_pixel; //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 -- cgit v1.2.3