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_gl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libvo/vo_gl.c') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index db98b3ed7e..14d6deaa50 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -207,7 +207,11 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin // bpp = myximage->bits_per_pixel; //XSelectInput(mDisplay, mywindow, StructureNotifyMask); // !!!! - XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask ); + XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask +#ifdef HAVE_NEW_INPUT + | ButtonPressMask | ButtonReleaseMask +#endif + ); // printf("Window setup ok\n"); -- cgit v1.2.3