diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-09 17:43:49 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-09 17:43:49 +0000 |
commit | 1d17fa69c3b677f50bb2f7debfd959c9ae6c168e (patch) | |
tree | ed41a2ff39a090a496a593357158b3b662211cd9 /libvo/vo_gl2.c | |
parent | cb0e37959b50de11bbe6f97ae9ff9598681e7b21 (diff) | |
download | mpv-1d17fa69c3b677f50bb2f7debfd959c9ae6c168e.tar.bz2 mpv-1d17fa69c3b677f50bb2f7debfd959c9ae6c168e.tar.xz |
ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warning
patch Kazunori Ueno <jagarl@creator.club.ne.jp>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r-- | libvo/vo_gl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index eb1cb65dba..800dc4a442 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -708,7 +708,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin 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 |