Mercurial > mplayer.hg
diff libvo/vo_gl2.c @ 4658:93d562ad1c22
Added new input mouse support in x11 vo
author | albeu |
---|---|
date | Mon, 11 Feb 2002 11:44:50 +0000 |
parents | c35d7ce151b3 |
children | 32e1f5042f65 |
line wrap: on
line diff
--- a/libvo/vo_gl2.c Mon Feb 11 11:42:08 2002 +0000 +++ b/libvo/vo_gl2.c Mon Feb 11 11:44:50 2002 +0000 @@ -711,7 +711,11 @@ 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);