From 30c218a61b1770ba7afcf4f738ed71a8312af51a Mon Sep 17 00:00:00 2001 From: albeu Date: Mon, 11 Feb 2002 11:44:50 +0000 Subject: Added new input mouse support in x11 vo git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4659 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl2.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libvo/vo_gl2.c') diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index cb5ace9845..7b49ffb09e 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -711,7 +711,11 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin XSync(mDisplay, False); //XSelectInput(mDisplay, mywindow, StructureNotifyMask); // !!!! - XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask ); + XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask +#ifdef HAVE_NEW_INPUT + | ButtonPressMask | ButtonReleaseMask +#endif + ); glVersion = glGetString(GL_VERSION); -- cgit v1.2.3